iDocumentAttribute Struct Reference
[Utilities]
An attribute for an iDocumentNode.
More...
#include <document.h>
Inheritance diagram for iDocumentAttribute:

Public Methods | |
virtual const char * | GetName ()=0 |
Get name of this attribute. | |
virtual const char * | GetValue ()=0 |
Get value of this attribute. | |
virtual int | GetValueAsInt ()=0 |
Get value of this attribute as integer. | |
virtual float | GetValueAsFloat ()=0 |
Get value of this attribute as float. | |
virtual bool | GetValueAsBool ()=0 |
Get value of this attribute as float. | |
virtual void | SetName (const char *name)=0 |
Set name of this attribute. | |
virtual void | SetValue (const char *value)=0 |
Set value of this attribute. | |
virtual void | SetValueAsInt (int v)=0 |
Set int value of this attribute. | |
virtual void | SetValueAsFloat (float f)=0 |
Set float value of this attribute. |
Detailed Description
An attribute for an iDocumentNode.
Main creators of instances implementing this interface:
- iDocumentNode::SetAttribute()
- iDocumentNode::SetAttributeAsInt()
- iDocumentNode::SetAttributeAsFloat()
Definition at line 107 of file document.h.
Member Function Documentation
|
Get name of this attribute.
|
|
Get value of this attribute.
|
|
Get value of this attribute as float.
|
|
Get value of this attribute as float.
|
|
Get value of this attribute as integer.
|
|
Set name of this attribute.
|
|
Set value of this attribute.
|
|
Set float value of this attribute.
|
|
Set int value of this attribute.
|
The documentation for this struct was generated from the following file:
- iutil/document.h
Generated for Crystal Space by doxygen 1.2.18