csDocumentNodeCommon Class Reference
Partial iDocumentNode implementation with commonly duplicated logic. More...
#include <csutil/documentcommon.h>
Inheritance diagram for csDocumentNodeCommon:

Public Member Functions | |
csRef< iDocumentAttribute > | GetAttribute (const char *) |
Dummy implementation. | |
virtual csRef< iDocumentAttributeIterator > | GetAttributes () |
Return empty iterator. | |
virtual csRef< iDocumentNode > | GetNode (const char *) |
Dummy implementation. | |
virtual csRef< iDocumentNodeIterator > | GetNodes (const char *value) |
Return iterator wrapping around the one returned by GetNodes() and filtering for nodes with a value of value. | |
virtual csRef< iDocumentNodeIterator > | GetNodes () |
Return empty iterator. | |
virtual const char * | GetAttributeValue (const char *name) |
Returns value of an attribute. | |
virtual bool | GetAttributeValueAsBool (const char *name, bool defaultvalue=false) |
Returns value of an attribute. | |
virtual float | GetAttributeValueAsFloat (const char *name) |
Returns value of an attribute. | |
virtual int | GetAttributeValueAsInt (const char *name) |
Returns value of an attribute. | |
virtual const char * | GetContentsValue () |
Returns value of first child text node. | |
virtual float | GetContentsValueAsFloat () |
Returns value of first child text node. | |
virtual int | GetContentsValueAsInt () |
Returns value of first child text node. | |
virtual void | SetAttributeAsFloat (const char *name, float value) |
Change or add an attribute to a string representation of a float. | |
virtual void | SetAttributeAsInt (const char *name, int value) |
Converts 'value' to a string and calls SetAttribute() with it. | |
virtual void | SetValueAsFloat (float value) |
Set value to the string representation of a float. | |
virtual void | SetValueAsInt (int value) |
Converts 'value' to a string and calls SetValue() with it. |
Detailed Description
Partial iDocumentNode implementation with commonly duplicated logic.
Definition at line 69 of file documentcommon.h.
Member Function Documentation
|
Dummy implementation.
Implements iDocumentNode. Definition at line 108 of file documentcommon.h. |
|
Return empty iterator.
Implements iDocumentNode. Definition at line 101 of file documentcommon.h. |
|
Returns value of an attribute.
Implements iDocumentNode. |
|
Returns value of an attribute.
Implements iDocumentNode. |
|
Returns value of an attribute.
Implements iDocumentNode. |
|
Returns value of an attribute.
Implements iDocumentNode. |
|
Returns value of first child text node. Converts from a string if necessary. Implements iDocumentNode. |
|
Returns value of first child text node. Converts from a string if necessary. Implements iDocumentNode. |
|
Returns value of first child text node. Converts from a string if necessary. Implements iDocumentNode. |
|
Dummy implementation.
Implements iDocumentNode. Definition at line 87 of file documentcommon.h. |
|
Return iterator wrapping around the one returned by GetNodes() and filtering for nodes with a value of value.
Implements iDocumentNode. |
|
Return empty iterator.
Implements iDocumentNode. Definition at line 79 of file documentcommon.h. |
|
Change or add an attribute to a string representation of a float.
Implements iDocumentNode. Reimplemented in csDocumentNodeReadOnly. |
|
Converts 'value' to a string and calls SetAttribute() with it.
Implements iDocumentNode. Reimplemented in csDocumentNodeReadOnly. |
|
Set value to the string representation of a float.
Implements iDocumentNode. Reimplemented in csDocumentNodeReadOnly. |
|
Converts 'value' to a string and calls SetValue() with it.
Implements iDocumentNode. Reimplemented in csDocumentNodeReadOnly. |
The documentation for this class was generated from the following file:
- csutil/documentcommon.h
Generated for Crystal Space by doxygen 1.4.4