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

#include <CRDFSubject.h>

List of all members.

Public Types

enum  eSubjectType { RESOURCE = 0, BLANK_NODE }

Public Member Functions

 CRDFSubject ()
 CRDFSubject (const CRDFSubject &src)
 ~CRDFSubject ()
CRDFSubjectoperator= (const CRDFSubject &rhs)
void setType (const eSubjectType &type)
const eSubjectTypegetType () const
void setResource (const std::string &resource, const bool &isLocal)
const std::string & getResource () const
const bool & isLocal () const
void setBlankNodeId (const std::string &blankNodeId)
const std::string & getBlankNodeID () const
void clearData ()

Member Enumeration Documentation

The two different types possible for subjects

Enumerator:
RESOURCE 
BLANK_NODE 

Constructor & Destructor Documentation

CRDFSubject::CRDFSubject ( )

Default Constructor

CRDFSubject::CRDFSubject ( const CRDFSubject src)

Copy Constructor

Parameters:
constCRDFSubject & src
CRDFSubject::~CRDFSubject ( )

Destructor


Member Function Documentation

void CRDFSubject::clearData ( )

Reset all Data

const std::string & CRDFSubject::getBlankNodeID ( ) const

Retrieve the ID of the blank node of the subject

Returns:
const std::string & blankNodeId
const std::string & CRDFSubject::getResource ( ) const

Retrieve the resource of the subject

Returns:
const std::string & resource
const CRDFSubject::eSubjectType & CRDFSubject::getType ( ) const

Retrieve the type of the subject

Returns:
const eSubjectType & type
const bool & CRDFSubject::isLocal ( ) const

Check whehter the resource is local

Returns:
const bool & isLocal
CRDFSubject & CRDFSubject::operator= ( const CRDFSubject rhs)
void CRDFSubject::setBlankNodeId ( const std::string &  blankNodeId)

Set the ID of the blank node of the subject

Parameters:
conststd::string & blankNodeId
void CRDFSubject::setResource ( const std::string &  resource,
const bool &  isLocal 
)

Set the resource of the subject

Parameters:
conststd::string & resource
constbool & isLocal
void CRDFSubject::setType ( const eSubjectType type)

Set the type of the subject

Parameters:
consteSubjectType & type

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