Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plist::DictionaryBase::ConversionTo< plist::Primitive< double > > Struct Template Reference

This is a specialization for double conversions to add RealConversions. More...

#include <plistCollections.h>

Inheritance diagram for plist::DictionaryBase::ConversionTo< plist::Primitive< double > >:

Detailed Description

template<>
struct plist::DictionaryBase::ConversionTo< plist::Primitive< double > >

This is a specialization for double conversions to add RealConversions.

Definition at line 498 of file plistCollections.h.

List of all members.

Public Member Functions

template<typename T >
void addValue (const std::string &name, const T &val, const std::string &comment="", bool warnExists=true)
 insert a new entry to the map, and corresponding comment; expects val to be either a primitive type, like int, float, etc., or one of the variable-sized Collection's, like Array, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary
virtual void addValue (const std::string &name, const std::string &val, const std::string &comment="", bool warnExists=true)
 generic addition of value, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary
virtual void addValue (const std::string &name, char val[], const std::string &comment="", bool warnExists=true)
 "specialization" (actually just another override) for handling character arrays as strings, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary
virtual void addValue (const std::string &name, const char val[], const std::string &comment="", bool warnExists=true)
 "specialization" (actually just another override) for handling character arrays as strings, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary
virtual void addValue (const std::string &name, long val, const std::string &comment="", bool warnExists=true)
 generic addition of value, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary
virtual void addValue (const std::string &name, unsigned long val, const std::string &comment="", bool warnExists=true)
 generic addition of value, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary
virtual void addValue (const std::string &name, double val, const std::string &comment="", bool warnExists=true)
 generic addition of value, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary

Member Function Documentation

virtual void plist::DictionaryBase::ConversionTo< plist::Primitive< double > >::addValue ( const std::string &  name,
double  val,
const std::string &  comment = "",
bool  warnExists = true 
) [virtual]

generic addition of value, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary

Implements plist::DictionaryBase::RealConversion.

Definition at line 509 of file plistCollections.h.

virtual void plist::DictionaryBase::ConversionTo< plist::Primitive< double > >::addValue ( const std::string &  name,
unsigned long  val,
const std::string &  comment = "",
bool  warnExists = true 
) [virtual]

generic addition of value, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary

Implements plist::DictionaryBase::IntegerConversion.

Definition at line 508 of file plistCollections.h.

virtual void plist::DictionaryBase::ConversionTo< plist::Primitive< double > >::addValue ( const std::string &  name,
long  val,
const std::string &  comment = "",
bool  warnExists = true 
) [virtual]

generic addition of value, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary

Implements plist::DictionaryBase::IntegerConversion.

Definition at line 507 of file plistCollections.h.

virtual void plist::DictionaryBase::ConversionTo< plist::Primitive< double > >::addValue ( const std::string &  name,
const char  val[],
const std::string &  comment = "",
bool  warnExists = true 
) [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 dictionary

Definition at line 506 of file plistCollections.h.

virtual void plist::DictionaryBase::ConversionTo< plist::Primitive< double > >::addValue ( const std::string &  name,
char  val[],
const std::string &  comment = "",
bool  warnExists = true 
) [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 dictionary

Definition at line 504 of file plistCollections.h.

virtual void plist::DictionaryBase::ConversionTo< plist::Primitive< double > >::addValue ( const std::string &  name,
const std::string &  val,
const std::string &  comment = "",
bool  warnExists = true 
) [virtual]

generic addition of value, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary

Implements plist::DictionaryBase::StringConversion.

Definition at line 502 of file plistCollections.h.

template<typename T >
void plist::DictionaryBase::ConversionTo< plist::Primitive< double > >::addValue ( const std::string &  name,
const T &  val,
const std::string &  comment = "",
bool  warnExists = true 
)

insert a new entry to the map, and corresponding comment; expects val to be either a primitive type, like int, float, etc., or one of the variable-sized Collection's, like Array, control of (de)allocation of corresponding Primitive instance will be assumed by the dictionary

Definition at line 501 of file plistCollections.h.


The documentation for this struct was generated from the following file:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:25 2016 by Doxygen 1.6.3