|
COPASI API
4.40.278
|
#include <CRDFLiteral.h>
Public Types | |
| enum | eLiteralType { PLAIN = 0 , TYPED } |
Public Member Functions | |
| CRDFLiteral () | |
| CRDFLiteral (const CRDFLiteral &src) | |
| const std::string & | getDataType () const |
| const std::string & | getLanguage () const |
| const std::string & | getLexicalData () const |
| const eLiteralType & | getType () const |
| void | setDataType (const std::string &dataType) |
| void | setLanguage (const std::string &language) |
| void | setLexicalData (const std::string &lexicalData) |
| void | setType (const eLiteralType &type) |
| ~CRDFLiteral () | |
Private Attributes | |
| std::string | mDataType |
| std::string | mLanguage |
| std::string | mLexicalData |
| eLiteralType | mType |
| CRDFLiteral::CRDFLiteral | ( | ) |
Default Constructor
| CRDFLiteral::CRDFLiteral | ( | const CRDFLiteral & | src | ) |
Copy Constructor
| const | CRDFLiteral & src |
| CRDFLiteral::~CRDFLiteral | ( | ) |
Destructor
| const std::string & CRDFLiteral::getDataType | ( | ) | const |
Retrieve the data type of the literal
References mDataType.
Referenced by CRDFWriter::write().
| const std::string & CRDFLiteral::getLanguage | ( | ) | const |
Retrieve the language of the literal
References mLanguage.
Referenced by CRDFWriter::write().
| const std::string & CRDFLiteral::getLexicalData | ( | ) | const |
Retrieve the lexical data of the literal
References mLexicalData.
Referenced by CRDFNode::getFieldValue(), operator<<(), and CRDFWriter::write().
| const CRDFLiteral::eLiteralType & CRDFLiteral::getType | ( | ) | const |
Retrieve the type of the literal
References mType.
Referenced by CRDFWriter::write().
| void CRDFLiteral::setDataType | ( | const std::string & | dataType | ) |
Set the data type of the literal
| const | std::string & dataType |
References mDataType.
Referenced by CRDFParser::TripleHandler().
| void CRDFLiteral::setLanguage | ( | const std::string & | language | ) |
Set the language of the literal
| const | std::string & language |
References mLanguage.
Referenced by CRDFParser::TripleHandler().
| void CRDFLiteral::setLexicalData | ( | const std::string & | lexicalData | ) |
Set the lexical data of the literal
| const | std::string & lexicalData |
References mLexicalData.
Referenced by CRDFNode::setFieldValue(), and CRDFParser::TripleHandler().
| void CRDFLiteral::setType | ( | const eLiteralType & | type | ) |
Set the type of the literal
| const | eLiteralType & type |
References mType.
Referenced by CRDFNode::setFieldValue(), and CRDFParser::TripleHandler().
|
private |
The data type describing URI for literals of type TYPED.
Referenced by getDataType(), and setDataType().
|
private |
The language tag for literals of type PLAIN
Referenced by getLanguage(), and setLanguage().
|
private |
The lical form of the data
Referenced by getLexicalData(), and setLexicalData().
|
private |