csDocumentAttributeCommon Class Reference
Partial iDocumentAttribute implementation with commonly duplicated logic. More...
#include <csutil/documentcommon.h>
Inherits scfImplementation1<csDocumentAttributeCommon, iDocumentAttribute>.
Public Member Functions | |
| virtual bool | GetValueAsBool () |
| Returns value. | |
| virtual float | GetValueAsFloat () |
| Returns value. | |
| virtual int | GetValueAsInt () |
| Returns value. | |
| virtual void | SetValueAsFloat (float f) |
| Converts 'value' to a string and calls SetValue() with it. | |
| virtual void | SetValueAsInt (int v) |
| Converts 'value' to a string and calls SetValue() with it. | |
Detailed Description
Partial iDocumentAttribute implementation with commonly duplicated logic.Definition at line 130 of file documentcommon.h.
Member Function Documentation
| virtual bool csDocumentAttributeCommon::GetValueAsBool | ( | ) | [virtual] |
Returns value.
Uses GetValue() and converts the string to the return type.
| virtual float csDocumentAttributeCommon::GetValueAsFloat | ( | ) | [virtual] |
Returns value.
Uses GetValue() and converts the string to the return type.
| virtual int csDocumentAttributeCommon::GetValueAsInt | ( | ) | [virtual] |
Returns value.
Uses GetValue() and converts the string to the return type.
| virtual void csDocumentAttributeCommon::SetValueAsFloat | ( | float | f | ) | [virtual] |
Converts 'value' to a string and calls SetValue() with it.
| virtual void csDocumentAttributeCommon::SetValueAsInt | ( | int | v | ) | [virtual] |
Converts 'value' to a string and calls SetValue() with it.
The documentation for this class was generated from the following file:
- csutil/documentcommon.h
Generated for Crystal Space 1.4.0 by doxygen 1.5.8
