Software and Services, Portable Libraries
2019.Mar.01
A library for managing digital certificates
|
Base class for all text parameters. More...
#include </home/doug/src/SoftwareAndServices/libSaSiCalendar/text_parameter.hpp>
Public Member Functions | |
text_parameter (Tokens_t type, const text *Value=NULL) | |
text_parameter Constructor. More... | |
text_parameter (Tokens_t type, const char *Value) | |
text_parameter Constructor. More... | |
virtual | ~text_parameter () |
text_parameter 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... | |
virtual InstanceCount_t | decInstance () const |
Decrement the instance. More... | |
InstanceCount_t | decInstance () const |
This class uses instance counting, this entry point simply bumps up the counter. More... | |
const char * | get (unsigned int nTh=0) const |
Get the nTh text value. More... | |
virtual iCalErrorVec * | getErrorList () const |
Return the error list, may be NULL or empty if no errors. More... | |
virtual InstanceCount_t | getInstance () const |
virtual InstanceCount_t | getInstance () const |
Tokens_t | getName () const |
virtual Tokens_t | getType (unsigned int nTh=0) const |
Get the type of data stored. More... | |
virtual const value * | getValue (unsigned int nTh=0) const |
Get the nTh value. More... | |
virtual size_t | getValueCount () const |
Get the number of values stored. More... | |
const text * | getXName () const |
virtual InstanceCount_t | incInstance () const |
Increment the instance. More... | |
InstanceCount_t | incInstance () const |
This class uses instance counting, this entry point simply bumps up the counter. More... | |
void | operator delete (void *data) |
Override the delete operator such that it is only really deleted when the instance counter reaches zero. More... | |
bool | operator!= (const parameter &Other) const |
parameter != operator More... | |
bool | operator!= (const parameter *Other) const |
parameter != 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 parameter &Other) const |
parameter == operator More... | |
bool | operator== (const parameter *Other) const |
parameter == operator More... | |
bool | operator== (const value &Other) const |
value == compare operator. More... | |
bool | operator== (const value *Other) const |
value == compare operator. More... | |
virtual bool | parse (Parse &in, component *errors) |
#Parse a parameter. More... | |
virtual bool | parse (const char *in, component *errors) |
#Parse a parameter. More... | |
bool | setName (Tokens_t type) |
Set the name of this parameter. More... | |
Tokens_t | setName (const char *newName) |
Set the name of this parameter. More... | |
virtual bool | setType (Tokens_t token, unsigned int nTh=0) |
Set the type of the nTh value. More... | |
virtual bool | sprint (String *Results) const |
bool | sprint (String *TheResults, const char *Separator=NULL) const |
Print the object in RFC-iCalendar format. More... | |
virtual bool | valid () const |
Static Public Member Functions | |
static size_t | decodeValue (Parse &in, String &str) |
Quote out any quotes as needed. More... | |
static size_t | encodeValue (const char *in, String &str) |
Quote any quotes as needed. More... | |
Static Public Attributes | |
static const char * | param_term_s |
What characters terminate a parameter. More... | |
Base class for all text parameters.
Definition at line 81 of file text_parameter.hpp.
SoftwareAndServices::Library::iCalendar::text_parameter::text_parameter | ( | Tokens_t | type, |
const text * | Value = NULL |
||
) |
text_parameter Constructor.
type | The type of text_parameter. |
Value | The initial value. |
SoftwareAndServices::Library::iCalendar::text_parameter::text_parameter | ( | Tokens_t | type, |
const char * | Value | ||
) |
text_parameter Constructor.
type | The type of text_parameter. |
Value | The initial value. |
|
virtual |
text_parameter Destructor.
|
virtualinherited |
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).
data | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
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).
Value | The data to add. |
|
virtualinherited |
Add an error to this object.
anErro | The error to add. |
|
inlinevirtualinherited |
Decrement the instance.
Definition at line 129 of file instance.hpp.
|
virtualinherited |
This class uses instance counting, this entry point simply bumps up the counter.
Reimplemented from SoftwareAndServices::Library::Common::instance< value >.
|
staticinherited |
Quote out any quotes as needed.
|
staticinherited |
Quote any quotes as needed.
const char* SoftwareAndServices::Library::iCalendar::text_parameter::get | ( | unsigned int | nTh = 0 | ) | const |
Get the nTh text value.
nTh | Which value to get (the first is zero). |
|
virtualinherited |
Return the error list, may be NULL or empty if no errors.
|
inlinevirtualinherited |
Definition at line 118 of file instance.hpp.
|
inlinevirtualinherited |
Definition at line 118 of file instance.hpp.
|
inherited |
|
virtualinherited |
Get the type of data stored.
nTh | This starts from zero, get the type of the nTh value. |
|
virtualinherited |
Get the nTh value.
nTh | The nTh value to get (start from zero) |
|
virtualinherited |
Get the number of values stored.
|
inherited |
|
inlinevirtualinherited |
Increment the instance.
Definition at line 109 of file instance.hpp.
|
virtualinherited |
This class uses instance counting, this entry point simply bumps up the counter.
Reimplemented from SoftwareAndServices::Library::Common::instance< value >.
|
inherited |
Override the delete operator such that it is only really deleted when the instance counter reaches zero.
data | What to delete. |
|
inherited |
parameter != operator
Other | The other parameter to compare this one to. |
|
inherited |
parameter != operator
Other | The other parameter to compare this one to. |
|
inherited |
value != compare operator.
Other | The other value to compare to. |
|
inherited |
value != compare operator.
Other | The other value to compare to. |
|
inherited |
parameter == operator
Other | The other parameter to compare this one to. |
|
inherited |
parameter == operator
Other | The other parameter to compare this one to. |
|
inherited |
value == compare operator.
Other | The other value to compare to. |
|
inherited |
value == compare operator.
Other | The other value to compare to. |
|
virtualinherited |
#Parse a parameter.
in | An open Parse object. |
errors | Where to put any errors. |
|
virtualinherited |
#Parse a parameter.
in | A pointer to a string representation of a parameter. |
errors | Where to put any errors. |
|
inherited |
Set the name of this parameter.
type | The type (name) of this parameter. |
|
inherited |
Set the name of this parameter.
newName | The new name of this parameter. |
|
virtualinherited |
Set the type of the nTh value.
token | The type of data to be set. |
nTh | The nTh (starts from zero) value type to be set. |
|
virtualinherited |
Results | A C-String RFC-ICalendar representation of this parameter. |
|
inherited |
Print the object in RFC-iCalendar format.
TheResults | Append the string to this string. |
Separator | If not-NULL, separate the values with this string. |
|
virtualinherited |
Reimplemented in SoftwareAndServices::Library::iCalendar::altrep, SoftwareAndServices::Library::iCalendar::action_param, SoftwareAndServices::Library::iCalendar::latency, SoftwareAndServices::Library::iCalendar::cutype, SoftwareAndServices::Library::iCalendar::cn, SoftwareAndServices::Library::iCalendar::dir, SoftwareAndServices::Library::iCalendar::local, SoftwareAndServices::Library::iCalendar::delegated_to, SoftwareAndServices::Library::iCalendar::enable, SoftwareAndServices::Library::iCalendar::fbtype, SoftwareAndServices::Library::iCalendar::language, SoftwareAndServices::Library::iCalendar::localize, SoftwareAndServices::Library::iCalendar::options, SoftwareAndServices::Library::iCalendar::partstat, SoftwareAndServices::Library::iCalendar::tzidparam, SoftwareAndServices::Library::iCalendar::valuetype, SoftwareAndServices::Library::iCalendar::encoding, SoftwareAndServices::Library::iCalendar::fmttype, SoftwareAndServices::Library::iCalendar::id, SoftwareAndServices::Library::iCalendar::delegated_from, SoftwareAndServices::Library::iCalendar::upn_parameter, and SoftwareAndServices::Library::iCalendar::upn_filter_parameter.
|
staticinherited |
What characters terminate a parameter.
Definition at line 225 of file parameter.hpp.