CNamespacedObject



Member Functions

CNamespacedObject

   public:

CNamespacedObject();

object constructor


CNamespacedObject

   public:

CNamespacedObject(const char* name);

object constructor

Parameters

NameDescription
namethe generic identifier for this object

CNamespacedObject

   public:

CNamespacedObject(const char* name, std::string &ns);

object constructor

Parameters

NameDescription
namethe generic identifier for this object
nsthe XML namespace for this object

getNamespace

   public:

std::string& getNamespace();

gets the XML namespace for this object

Result: a basic_string containing the XML namespace

getNamespace

   public:

std::string& getName();

gets the generic identifier for this object

Result: a basic_string containing the generic identifier

setNamespace

   public:

void setNamespace(std::string& ns);

sets the XML namespace for this object

Parameters

NameDescription
nsthe new namespace

~CNamespacedObject

   public:

virtual ~CNamespacedObject();

object destructor


Member Data

m_name

protected:
 std::string m_name;

the generic identifier (GI) of this XML document component


m_namespace

protected:
 std::string m_namespace;

a basic_string containing the XML namespace for this object


© 1999-2000, Thomas Bednarz, Jr. — (Last Updated 7/16/2000)