Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
SoftwareAndServices::Library::iCalendar::value Class Reference

This is the base class for all values, that includes parameters and properties. More...

#include </home/doug/src/SoftwareAndServices/libSaSiCalendar/value.hpp>

+ Inheritance diagram for SoftwareAndServices::Library::iCalendar::value:
+ Collaboration diagram for SoftwareAndServices::Library::iCalendar::value:

Public Member Functions

 value ()
 value - Default constructor. More...
 
 value (const BaseValueType *Value)
 Constructor - create a copy of an existing item. More...
 
 value (const text *Value)
 Constructor - create an RFC-iCalendar TEXT value type. More...
 
 value (const boolean *Value)
 Constructor - create an RFC-iCalendar BOOLEAN value type. More...
 
 value (const binary *Value)
 Constructor - create an RFC-iCalendar BINARY value type. More...
 
 value (const uri *Value)
 Constructor - create an RFC-iCalendar URI value type. More...
 
 value (const cal_address *Value)
 Constructor - create an RFC-iCalendar CAL-ADDRESS value type. More...
 
 value (const utc_offset *Value)
 Constructor - create an RFC-iCalendar UTC-OFFSET value type. More...
 
 value (const date *Value)
 Constructor - create an RFC-iCalendar DATE value type. More...
 
 value (const time *Value)
 Constructor - create an RFC-iCalendar TIME value type. More...
 
 value (const date_time *Value)
 Constructor - create an RFC-iCalendar DATE-TIME value type. More...
 
 value (const dur_value *Value)
 Constructor - create an RFC-iCalendar DURRATION value type. More...
 
 value (const float_value *Value)
 Constructor - create an RFC-iCalendar FLOAT value type. More...
 
 value (const integer *Value)
 Constructor - create an RFC-iCalendar INTEGER value type. More...
 
 value (const period *Value)
 Constructor - create an RFC-iCalendar PERIOD value type. More...
 
 value (const recur *Value)
 Constructor - create an RFC-iCalendar RECUR value type. More...
 
 value (const cal_query *Value)
 Constructor - create a CAP QUERY value type. More...
 
 value (const Uri *Value)
 Constructor - create an RFC-iCalendar URI value type. More...
 
 value (const upn_value *Value)
 Constructor - create an CAP UPN-VALUE value type. More...
 
 value (const upn_filter *Value)
 Constructor - create a CAP UPN-FILTER value type. More...
 
 value (const char *Value)
 Constructor - create an RFC-iCalendar X-VALUE value type. More...
 
 value (int Value)
 Constructor - create an RFC-iCalendar INTEGER value type. More...
 
 value (double Value)
 Constructor - create an RFC-iCalendar FLOAT value type. More...
 
 value (Tokens_t Value)
 Constructor - create an RFC-iCalendar object value where the value can be represented by a Tokens_t. More...
 
 value (const char *xname, const void *data, size_t octets)
 Constructor. More...
 
virtual ~value ()
 Destructor. More...
 
virtual bool add (const BaseValueType *data)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const value *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const boolean *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const binary *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const text *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const uri *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const Uri *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const cal_address *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const utc_offset *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const date *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const time *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const date_time *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const dur_value *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const float_value *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const integer *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const period *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const recur *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const cal_query *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const char *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const upn_value *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const upn_filter *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (Tokens_t Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (const TokenValue *Value)
 Many RFC-iCalendar object may contain zero or more values. More...
 
virtual bool add (iCalError *anError) const
 Add an error to this object. More...
 
InstanceCount_t decInstance () const
 This class uses instance counting, this entry point simply bumps up the counter. More...
 
virtual iCalErrorVec * getErrorList () const
 Return the error list, may be NULL or empty if no errors. More...
 
virtual InstanceCount_t getInstance () const
 
virtual Tokens_t getType (unsigned int nTh=0) const
 Get the type of data stored. More...
 
virtual const valuegetValue (unsigned int nTh=0) const
 Get the nTh value. More...
 
virtual size_t getValueCount () const
 Get the number of values stored. More...
 
InstanceCount_t incInstance () const
 This class uses instance counting, this entry point simply bumps up the counter. More...
 
void operator delete (void *data)
 This class uses instance counting, this entry point overloads the default delete() operator in order to correctly track the instance. More...
 
bool operator!= (const value &Other) const
 value != compare operator. More...
 
bool operator!= (const value *Other) const
 value != compare operator. More...
 
bool operator== (const value &Other) const
 value == compare operator. More...
 
bool operator== (const value *Other) const
 value == compare operator. More...
 
virtual bool setType (Tokens_t token, unsigned int nTh=0)
 Set the type of the nTh value. More...
 
bool sprint (String *TheResults, const char *Separator=NULL) const
 Print the object in RFC-iCalendar format. More...
 

Detailed Description

This is the base class for all values, that includes parameters and properties.

Definition at line 78 of file value.hpp.

Constructor & Destructor Documentation

◆ value() [1/25]

SoftwareAndServices::Library::iCalendar::value::value ( )

value - Default constructor.

◆ value() [2/25]

SoftwareAndServices::Library::iCalendar::value::value ( const BaseValueType Value)

Constructor - create a copy of an existing item.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [3/25]

SoftwareAndServices::Library::iCalendar::value::value ( const text Value)

Constructor - create an RFC-iCalendar TEXT value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [4/25]

SoftwareAndServices::Library::iCalendar::value::value ( const boolean Value)

Constructor - create an RFC-iCalendar BOOLEAN value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [5/25]

SoftwareAndServices::Library::iCalendar::value::value ( const binary Value)

Constructor - create an RFC-iCalendar BINARY value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [6/25]

SoftwareAndServices::Library::iCalendar::value::value ( const uri Value)

Constructor - create an RFC-iCalendar URI value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [7/25]

SoftwareAndServices::Library::iCalendar::value::value ( const cal_address Value)

Constructor - create an RFC-iCalendar CAL-ADDRESS value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [8/25]

SoftwareAndServices::Library::iCalendar::value::value ( const utc_offset Value)

Constructor - create an RFC-iCalendar UTC-OFFSET value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [9/25]

SoftwareAndServices::Library::iCalendar::value::value ( const date Value)

Constructor - create an RFC-iCalendar DATE value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [10/25]

SoftwareAndServices::Library::iCalendar::value::value ( const time Value)

Constructor - create an RFC-iCalendar TIME value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [11/25]

SoftwareAndServices::Library::iCalendar::value::value ( const date_time Value)

Constructor - create an RFC-iCalendar DATE-TIME value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [12/25]

SoftwareAndServices::Library::iCalendar::value::value ( const dur_value Value)

Constructor - create an RFC-iCalendar DURRATION value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [13/25]

SoftwareAndServices::Library::iCalendar::value::value ( const float_value Value)

Constructor - create an RFC-iCalendar FLOAT value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [14/25]

SoftwareAndServices::Library::iCalendar::value::value ( const integer Value)

Constructor - create an RFC-iCalendar INTEGER value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [15/25]

SoftwareAndServices::Library::iCalendar::value::value ( const period Value)

Constructor - create an RFC-iCalendar PERIOD value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [16/25]

SoftwareAndServices::Library::iCalendar::value::value ( const recur Value)

Constructor - create an RFC-iCalendar RECUR value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [17/25]

SoftwareAndServices::Library::iCalendar::value::value ( const cal_query Value)

Constructor - create a CAP QUERY value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [18/25]

SoftwareAndServices::Library::iCalendar::value::value ( const Uri Value)

Constructor - create an RFC-iCalendar URI value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [19/25]

SoftwareAndServices::Library::iCalendar::value::value ( const upn_value Value)

Constructor - create an CAP UPN-VALUE value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [20/25]

SoftwareAndServices::Library::iCalendar::value::value ( const upn_filter Value)

Constructor - create a CAP UPN-FILTER value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [21/25]

SoftwareAndServices::Library::iCalendar::value::value ( const char *  Value)

Constructor - create an RFC-iCalendar X-VALUE value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [22/25]

SoftwareAndServices::Library::iCalendar::value::value ( int  Value)

Constructor - create an RFC-iCalendar INTEGER value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [23/25]

SoftwareAndServices::Library::iCalendar::value::value ( double  Value)

Constructor - create an RFC-iCalendar FLOAT value type.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [24/25]

SoftwareAndServices::Library::iCalendar::value::value ( Tokens_t  Value)

Constructor - create an RFC-iCalendar object value where the value can be represented by a Tokens_t.

Parameters
Valuethe data to use to initialize the new object.

◆ value() [25/25]

SoftwareAndServices::Library::iCalendar::value::value ( const char *  xname,
const void *  data,
size_t  octets 
)

Constructor.

Use this one when the data type being stored is a non-standard type.

Parameters
xnameThe name of the data type.
Apointer to the data.
Thesize of the data being pointed to by data. The size is needed so that a memcpy() of (*data) moves the contents of (*data).

◆ ~value()

virtual SoftwareAndServices::Library::iCalendar::value::~value ( )
virtual

Destructor.

Member Function Documentation

◆ add() [1/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const BaseValueType data)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
dataThe data to add.
Returns
TRUE if successful.

◆ add() [2/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const value Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [3/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const boolean Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [4/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const binary Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [5/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const text Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [6/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const uri Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [7/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const Uri Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [8/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const cal_address Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [9/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const utc_offset Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [10/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const date Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [11/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const time Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [12/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const date_time Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [13/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const dur_value Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [14/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const float_value Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [15/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const integer Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [16/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const period Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [17/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const recur Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [18/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const cal_query Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [19/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const char *  Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [20/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const upn_value Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.

◆ add() [21/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const upn_filter Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [22/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( Tokens_t  Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [23/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( const TokenValue Value)
virtual

Many RFC-iCalendar object may contain zero or more values.

The add() methods below add a new value to this object.

Only one 'type' of data may be added. Multiple of the same 'type' may be added. As in you can add multiple 'uri' values, however you can not add a 'uri' and a 'cal_query' to the same object (in most cases there are some special value types).

Parameters
ValueThe data to add.
Returns
TRUE if successful.

◆ add() [24/24]

virtual bool SoftwareAndServices::Library::iCalendar::value::add ( iCalError anError) const
virtual

Add an error to this object.

Parameters
anErroThe error to add.
Returns
TRUE if successful.

◆ decInstance()

InstanceCount_t SoftwareAndServices::Library::iCalendar::value::decInstance ( ) const
virtual

This class uses instance counting, this entry point simply bumps up the counter.

Returns
The current instance count.

Reimplemented from SoftwareAndServices::Library::Common::instance< value >.

◆ getErrorList()

virtual iCalErrorVec* SoftwareAndServices::Library::iCalendar::value::getErrorList ( ) const
virtual

Return the error list, may be NULL or empty if no errors.

Returns
NULL or a pointer to any errors (list may be empty).

◆ getInstance()

virtual InstanceCount_t SoftwareAndServices::Library::Common::instance< value >::getInstance ( ) const
inlinevirtualinherited
Returns
The current instance count.

Definition at line 118 of file instance.hpp.

◆ getType()

virtual Tokens_t SoftwareAndServices::Library::iCalendar::value::getType ( unsigned int  nTh = 0) const
virtual

Get the type of data stored.

Parameters
nThThis starts from zero, get the type of the nTh value.
Returns
The type of data stored.

◆ getValue()

virtual const value* SoftwareAndServices::Library::iCalendar::value::getValue ( unsigned int  nTh = 0) const
virtual

Get the nTh value.

Parameters
nThThe nTh value to get (start from zero)
Returns
A pointer to the data.

◆ getValueCount()

virtual size_t SoftwareAndServices::Library::iCalendar::value::getValueCount ( ) const
virtual

Get the number of values stored.

Returns
The number of values stored.

◆ incInstance()

InstanceCount_t SoftwareAndServices::Library::iCalendar::value::incInstance ( ) const
virtual

This class uses instance counting, this entry point simply bumps up the counter.

Returns
The current instance count.

Reimplemented from SoftwareAndServices::Library::Common::instance< value >.

◆ operator delete()

void SoftwareAndServices::Library::iCalendar::value::operator delete ( void *  data)

This class uses instance counting, this entry point overloads the default delete() operator in order to correctly track the instance.

◆ operator!=() [1/2]

bool SoftwareAndServices::Library::iCalendar::value::operator!= ( const value Other) const

value != compare operator.

Parameters
OtherThe other value to compare to.
Returns
TRUE when they are NOT equal (OR do not have the same number of values in the same order).

◆ operator!=() [2/2]

bool SoftwareAndServices::Library::iCalendar::value::operator!= ( const value Other) const

value != compare operator.

Parameters
OtherThe other value to compare to.
Returns
TRUE when they are NOT equal (OR do not have the same number of values in the same order).

◆ operator==() [1/2]

bool SoftwareAndServices::Library::iCalendar::value::operator== ( const value Other) const

value == compare operator.

Parameters
OtherThe other value to compare to.
Returns
TRUE when they are equal (and the same number of values in the same order).

◆ operator==() [2/2]

bool SoftwareAndServices::Library::iCalendar::value::operator== ( const value Other) const

value == compare operator.

Parameters
OtherThe other value to compare to.
Returns
TRUE when they are equal (and the same number of values in the same order).

◆ setType()

virtual bool SoftwareAndServices::Library::iCalendar::value::setType ( Tokens_t  token,
unsigned int  nTh = 0 
)
virtual

Set the type of the nTh value.

Parameters
tokenThe type of data to be set.
nThThe nTh (starts from zero) value type to be set.
Returns
TRUE if set.

◆ sprint()

bool SoftwareAndServices::Library::iCalendar::value::sprint ( String TheResults,
const char *  Separator = NULL 
) const

Print the object in RFC-iCalendar format.

Parameters
TheResultsAppend the string to this string.
SeparatorIf not-NULL, separate the values with this string.
Returns
TRUE if anything is appended.

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