MICO Platform
 All Classes Namespaces Functions Variables Friends
Public Member Functions | List of all members
mico::rdf::model::BNode Class Reference

RDF blank node, represented with an internal string identifier. More...

#include <rdf_model.hpp>

Inheritance diagram for mico::rdf::model::BNode:
mico::rdf::model::Resource mico::rdf::model::Value

Public Member Functions

 BNode ()
 Create a new BNode with a random ID.
 
 BNode (const std::string &id)
 Create a new BNode with the given ID.
 
 BNode (const char *id)
 
 BNode (const BNode &id)
 
const std::string & getID () const
 retrieves this blank node's identifier.
 
const std::string & stringValue () const
 Returns the String-value of a Value object. More...
 
const ValueTypes getType () const
 Return type information (to avoid dynamic casts if possible)
 
bool operator== (const std::string &s) const
 
bool operator== (const char *s) const
 
bool operator!= (const std::string &s) const
 
bool operator!= (const char *s) const
 

Additional Inherited Members

Detailed Description

RDF blank node, represented with an internal string identifier.

Member Function Documentation

const std::string& mico::rdf::model::BNode::stringValue ( ) const
inlinevirtual

Returns the String-value of a Value object.

This returns either a Literal's label, a URI's URI or a BNode's ID.

Implements mico::rdf::model::Value.


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