copasi API  0.1
Public Types | Public Member Functions
CRDFLiteral Class Reference

#include <CRDFLiteral.h>

List of all members.

Public Types

enum  eLiteralType { PLAIN = 0, TYPED }

Public Member Functions

 CRDFLiteral ()
 CRDFLiteral (const CRDFLiteral &src)
 ~CRDFLiteral ()
void setType (const eLiteralType &type)
const eLiteralTypegetType () const
void setLanguage (const std::string &language)
const std::string & getLanguage () const
void setDataType (const std::string &dataType)
const std::string & getDataType () const
void setLexicalData (const std::string &lexicalData)
const std::string & getLexicalData () const

Member Enumeration Documentation

The two different types possible for literals

Enumerator:
PLAIN 
TYPED 

Constructor & Destructor Documentation

CRDFLiteral::CRDFLiteral ( )

Default Constructor

CRDFLiteral::CRDFLiteral ( const CRDFLiteral src)

Copy Constructor

Parameters:
constCRDFLiteral & src
CRDFLiteral::~CRDFLiteral ( )

Destructor


Member Function Documentation

const std::string & CRDFLiteral::getDataType ( ) const

Retrieve the data type of the literal

Returns:
const std::string & dataType
const std::string & CRDFLiteral::getLanguage ( ) const

Retrieve the language of the literal

Returns:
const std::string & language
const std::string & CRDFLiteral::getLexicalData ( ) const

Retrieve the lexical data of the literal

Returns:
const std::string & lexicalData
const CRDFLiteral::eLiteralType & CRDFLiteral::getType ( ) const

Retrieve the type of the literal

Returns:
const eLiteralType & type
void CRDFLiteral::setDataType ( const std::string &  dataType)

Set the data type of the literal

Parameters:
conststd::string & dataType
void CRDFLiteral::setLanguage ( const std::string &  language)

Set the language of the literal

Parameters:
conststd::string & language
void CRDFLiteral::setLexicalData ( const std::string &  lexicalData)

Set the lexical data of the literal

Parameters:
conststd::string & lexicalData
void CRDFLiteral::setType ( const eLiteralType type)

Set the type of the literal

Parameters:
consteLiteralType & type

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines