Date formatting function. More...
#include <FormatDate.h>
Public Types | |
typedef void | ReturnType |
typedef Visitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const =0 |
It call the visit method from the guest object. More... | |
virtual Expression * | clone () const =0 |
It returns a clone of this object. More... | |
const std::string & | getFallbackValue () const |
void | setDateValue (ParameterValue *v) |
void | setFallbackValue (const std::string &v) |
void | setPattern (const std::string &p) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
FormatDate () | |
It initializes a new FormatDate. More... | |
~FormatDate () | |
Destructor. More... | |
Protected Attributes | |
std::string | m_fallbackValue |
The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function. (Mandatory) More... | |
Private Member Functions | |
Not Allowed Methods | |
No copy allowed. | |
FormatDate (const FormatDate &rhs) | |
No copy constructor allowed. More... | |
FormatDate & | operator= (const FormatDate &rhs) |
No assignment operator allowed. More... | |
Private Attributes | |
ParameterValue * | m_dateValue |
Mandatory. More... | |
std::string | m_pattern |
Mandatory. More... | |
Date formatting function.
Function for dates. This function is used for several date types. The argument of the function can consist of one of the following ISO 8601 XML schema types:
Standard output is as defined in ISO 8601: YYYY-MM-DDThh:mm:ss.
Definition at line 63 of file FormatDate.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::se::FormatDate::FormatDate | ( | ) |
It initializes a new FormatDate.
te::se::FormatDate::~FormatDate | ( | ) |
Destructor.
|
private |
No copy constructor allowed.
rhs | The other object. |
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
pure virtualinherited |
It returns a clone of this object.
Implemented in te::fe::BinaryOperator, te::fe::Function, te::se::Interpolate, te::se::Categorize, te::fe::Literal, te::fe::PropertyName, te::se::Recode, te::se::InterpolationPoint, and te::se::MapItem.
|
inherited |
|
private |
No assignment operator allowed.
rhs | The other object. |
void te::se::FormatDate::setDateValue | ( | ParameterValue * | v | ) |
|
inherited |
void te::se::FormatDate::setPattern | ( | const std::string & | p | ) |
|
private |
Mandatory.
Definition at line 139 of file FormatDate.h.
|
protectedinherited |
The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function. (Mandatory)
Definition at line 88 of file Function.h.
|
private |
Mandatory.
Definition at line 140 of file FormatDate.h.