VCF::XmlNode Class Reference
#include <XMLKit.h>
Inheritance diagram for VCF::XmlNode:
List of all members.
Member Typedef Documentation
Member Enumeration Documentation
|
|
- Enumerator:
-
| psDefault |
|
| psPreserves |
|
| psNotInherited |
|
|
Constructor & Destructor Documentation
| VCF::XmlNode::XmlNode |
( |
|
) |
[inline] |
|
| VCF::XmlNode::XmlNode |
( |
xmlNodePtr |
val |
) |
[inline] |
|
| VCF::XmlNode::XmlNode |
( |
const XmlNode & |
val |
) |
[inline] |
|
Member Function Documentation
| void VCF::XmlNode::addChild |
( |
XmlNode & |
child |
) |
|
|
| void VCF::XmlNode::addNextSibling |
( |
XmlNode & |
element |
) |
|
|
| void VCF::XmlNode::addPrevSibling |
( |
XmlNode & |
element |
) |
|
|
| void VCF::XmlNode::addSibling |
( |
XmlNode & |
element |
) |
|
|
| virtual Object* VCF::XmlNode::clone |
( |
bool |
deep = false |
) |
const [virtual] |
|
|
|
Makes a complete clone of this object.
A typical implementation might be: virtual Object* clone( bool deep ) {
return new MyObject( this );
}
In which the implementer simply creates a new instance on the heap and calls the copy constructor. Objects which support cloning should also have a copy constructor defined as well.
- Parameters:
-
| bool | deep if deep is true then any object instances that this object owns should probably be cloned as well, with full new copies made. Otherwise it would be acceptable to simply copy the pointer values. The default value is for deep cloning to be false. |
- Returns:
- Object a new instance that should be an copy of this. If the object doesn't support cloning the return will value will be NULL.
Reimplemented from VCF::Object. |
| XmlNode VCF::XmlNode::copy |
( |
bool |
deep |
) |
const |
|
| XmlNode VCF::XmlNode::copyList |
( |
|
) |
const |
|
| bool VCF::XmlNode::empty |
( |
|
) |
const |
|
| static void VCF::XmlNode::freeResource |
( |
xmlNodePtr |
res |
) |
[static] |
|
| String VCF::XmlNode::getAttribute |
( |
const String & |
name |
) |
const |
|
| String VCF::XmlNode::getBase |
( |
|
) |
const |
|
| size_t VCF::XmlNode::getChildCount |
( |
|
) |
const |
|
| bool VCF::XmlNode::getChildren |
( |
std::vector< XmlNode > & |
nodes |
) |
const |
|
| String VCF::XmlNode::getContent |
( |
|
) |
const |
|
| String VCF::XmlNode::getLang |
( |
|
) |
const |
|
| int VCF::XmlNode::getLineNumber |
( |
|
) |
const |
|
| String VCF::XmlNode::getName |
( |
|
) |
const |
|
| bool VCF::XmlNode::getNamespaceList |
( |
std::vector< XmlNamespace > & |
namespaces |
) |
const |
|
| XmlNode VCF::XmlNode::getParent |
( |
|
) |
const |
|
| String VCF::XmlNode::getPath |
( |
|
) |
const |
|
| bool VCF::XmlNode::hasChildren |
( |
|
) |
const |
|
| bool VCF::XmlNode::isText |
( |
|
) |
const |
|
| XmlNode& VCF::XmlNode::operator= |
( |
xmlNodePtr |
rhs |
) |
[inline] |
|
| int VCF::XmlNode::reconcileNamespaces |
( |
|
) |
const |
|
| void VCF::XmlNode::setAttribute |
( |
const String & |
name, |
|
|
const String & |
value |
|
) |
|
|
| void VCF::XmlNode::setAttributeAsVariant |
( |
const String & |
name, |
|
|
const VariantData & |
value |
|
) |
|
|
| void VCF::XmlNode::setBase |
( |
const String & |
val |
) |
|
|
| void VCF::XmlNode::setBaseURI |
( |
const String & |
val |
) |
|
|
| void VCF::XmlNode::setContent |
( |
const String & |
val |
) |
|
|
| void VCF::XmlNode::setLang |
( |
const String & |
val |
) |
|
|
| void VCF::XmlNode::setName |
( |
const String & |
val |
) |
|
|
| virtual String VCF::XmlNode::toString |
( |
|
) |
const [virtual] |
|
|
|
returns a string representation of the object
Reimplemented from VCF::Object. |
The documentation for this class was generated from the following file: