Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
plist::ArrayBase::WrapValueConversion< PO > Struct Template Reference#include <plistCollections.h>
Inheritance diagram for plist::ArrayBase::WrapValueConversion< PO >:
![]() Detailed Descriptiontemplate<typename PO>
This conversion policy accepts any entries of the specified template type, values will be directly wrapped as Primitives so no conversion at all is actually performed.
|
Public Member Functions | |
template<typename T> | |
void | addValue (const T &val, const std::string &comment="") |
insert a new entry to the end of the vector, and corresponding comment; expects val to be either a primitive type, like int, float, etc., control of (de)allocation will be assumed by the Array | |
virtual void | addValue (const std::string &val, const std::string &comment="") |
generic addition of value at end of collection, control of (de)allocation of corresponding Primitive instance will be assumed by the Array | |
virtual void | addValue (char val[], const std::string &comment="") |
"specialization" (actually just another override) for handling character arrays as strings | |
virtual void | addValue (const char val[], const std::string &comment="") |
"specialization" (actually just another override) for handling character arrays as strings | |
void | addValue (long val, const std::string &comment="") |
generic addition of value at end of collection, control of (de)allocation of corresponding Primitive instance will be assumed by the Array | |
void | addValue (unsigned long val, const std::string &comment="") |
generic addition of value at end of collection, control of (de)allocation of corresponding Primitive instance will be assumed by the Array | |
void | addValue (double val, const std::string &comment="") |
generic addition of value at end of collection, control of (de)allocation of corresponding Primitive instance will be assumed by the Array | |
template<typename T> | |
void | addValue (size_t index, const T &val, const std::string &comment="") |
inserts new entry at the specified index, which must be less than or equal to the current array size, control of (de)allocation of corresponding Primitive instance will be assumed by the Array | |
virtual void | addValue (size_t index, const std::string &val, const std::string &comment="") |
generic addition of value at a specified position | |
virtual void | addValue (size_t index, char val[], const std::string &comment="") |
"specialization" (actually just another override) for handling character arrays as strings, control of (de)allocation of corresponding Primitive instance will be assumed by the Array | |
virtual void | addValue (size_t index, const char val[], const std::string &comment="") |
"specialization" (actually just another override) for handling character arrays as strings, control of (de)allocation of corresponding Primitive instance will be assumed by the Array | |
void | addValue (size_t index, long val, const std::string &comment="") |
generic addition of value at specified position, control of (de)allocation of corresponding Primitive instance will be assumed by the Array | |
void | addValue (size_t index, unsigned long val, const std::string &comment="") |
generic addition of value at specified position, control of (de)allocation of corresponding Primitive instance will be assumed by the Array | |
void | addValue (size_t index, double val, const std::string &comment="") |
generic addition of value at specified position, control of (de)allocation of corresponding Primitive instance will be assumed by the Array |
void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | const T & | val, | |
const std::string & | comment = "" | |||
) | [inline] |
insert a new entry to the end of the vector, and corresponding comment; expects val to be either a primitive type, like int, float, etc., control of (de)allocation will be assumed by the Array
Definition at line 934 of file plistCollections.h.
virtual void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | const std::string & | val, | |
const std::string & | comment = "" | |||
) | [inline, virtual] |
generic addition of value at end of collection, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Implements plist::ArrayBase::StringConversion.
Definition at line 935 of file plistCollections.h.
virtual void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | char | val[], | |
const std::string & | comment = "" | |||
) | [inline, virtual] |
"specialization" (actually just another override) for handling character arrays as strings
Definition at line 937 of file plistCollections.h.
virtual void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | const char | val[], | |
const std::string & | comment = "" | |||
) | [inline, virtual] |
"specialization" (actually just another override) for handling character arrays as strings
Definition at line 939 of file plistCollections.h.
void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | long | val, | |
const std::string & | comment = "" | |||
) | [inline] |
generic addition of value at end of collection, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Definition at line 941 of file plistCollections.h.
void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | unsigned long | val, | |
const std::string & | comment = "" | |||
) | [inline] |
generic addition of value at end of collection, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Definition at line 943 of file plistCollections.h.
void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | double | val, | |
const std::string & | comment = "" | |||
) | [inline] |
generic addition of value at end of collection, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Definition at line 945 of file plistCollections.h.
void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | size_t | index, | |
const T & | val, | |||
const std::string & | comment = "" | |||
) | [inline] |
inserts new entry at the specified index, which must be less than or equal to the current array size, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Definition at line 949 of file plistCollections.h.
virtual void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | size_t | index, | |
const std::string & | , | |||
const std::string & | comment = "" | |||
) | [inline, virtual] |
generic addition of value at a specified position
Implements plist::ArrayBase::StringConversion.
Definition at line 950 of file plistCollections.h.
virtual void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | size_t | index, | |
char | val[], | |||
const std::string & | comment = "" | |||
) | [inline, virtual] |
"specialization" (actually just another override) for handling character arrays as strings, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Definition at line 952 of file plistCollections.h.
virtual void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | size_t | index, | |
const char | val[], | |||
const std::string & | comment = "" | |||
) | [inline, virtual] |
"specialization" (actually just another override) for handling character arrays as strings, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Definition at line 954 of file plistCollections.h.
void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | size_t | index, | |
long | val, | |||
const std::string & | comment = "" | |||
) | [inline] |
generic addition of value at specified position, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Definition at line 956 of file plistCollections.h.
void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | size_t | index, | |
unsigned long | val, | |||
const std::string & | comment = "" | |||
) | [inline] |
generic addition of value at specified position, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Definition at line 958 of file plistCollections.h.
void plist::ArrayBase::WrapValueConversion< PO >::addValue | ( | size_t | index, | |
double | val, | |||
const std::string & | comment = "" | |||
) | [inline] |
generic addition of value at specified position, control of (de)allocation of corresponding Primitive instance will be assumed by the Array
Definition at line 960 of file plistCollections.h.
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:56 2007 by Doxygen 1.5.4 |