Read@CVL
rdf::TextEquiv Class Reference

#include <Elements.h>

Public Member Functions

 TextEquiv ()
 Initializes a new instance of the TextEquiv class without any text (null). More...
 
 TextEquiv (const QString &text)
 Initializes a new instance of the TextEquiv class with some text. More...
 
void write (QXmlStreamWriter &writer) const
 
QString text () const
 
bool isNull () const
 

Static Public Member Functions

static TextEquiv read (QXmlStreamReader &reader)
 Reads the TextEquiv tag. The reader must be at the position of the tag. More...
 

Protected Attributes

QString mText
 
bool mIsNull = false
 

Constructor & Destructor Documentation

rdf::TextEquiv::TextEquiv ( )

Initializes a new instance of the TextEquiv class without any text (null).

rdf::TextEquiv::TextEquiv ( const QString &  text)

Initializes a new instance of the TextEquiv class with some text.

Parameters
textThe text.

Member Function Documentation

bool rdf::TextEquiv::isNull ( ) const
TextEquiv rdf::TextEquiv::read ( QXmlStreamReader &  reader)
static

Reads the TextEquiv tag. The reader must be at the position of the tag.

Parameters
readerThe reader.
Returns
TextEquiv object containing the text
QString rdf::TextEquiv::text ( ) const
void rdf::TextEquiv::write ( QXmlStreamWriter &  writer) const

Member Data Documentation

bool rdf::TextEquiv::mIsNull = false
protected
QString rdf::TextEquiv::mText
protected

The documentation for this class was generated from the following files: