te::se::StringLength Class Referenceabstract

Returns length of string (String formatting functions). More...

#include <StringLength.h>

Inheritance diagram for te::se::StringLength:
te::se::Function te::fe::Expression te::common::BaseVisitable< Visitor >

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 Expressionclone () const =0
 It returns a clone of this object. More...
 
const std::string & getFallbackValue () const
 
void setFallbackValue (const std::string &v)
 
void setStringValue (ParameterValue *v)
 
Initializer Methods

Methods related to instantiation and destruction.

 StringLength ()
 It initializes a new StringLength. More...
 
 ~StringLength ()
 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 Attributes

ParameterValuem_stringValue
 Mandatory. More...
 

Detailed Description

Returns length of string (String formatting functions).

The function returns the number of characters in a string. The argument is converted to a string before computing its length.

See also
Function, ParameterValue, StringPosition, Trim

Definition at line 52 of file StringLength.h.

Member Typedef Documentation

typedef void te::common::BaseVisitable< Visitor , void >::ReturnType
inherited

Definition at line 58 of file BaseVisitable.h.

typedef Visitor te::common::BaseVisitable< Visitor , void >::VisitorType
inherited

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

te::se::StringLength::StringLength ( )

It initializes a new StringLength.

te::se::StringLength::~StringLength ( )

Destructor.

Member Function Documentation

virtual ReturnType te::common::BaseVisitable< Visitor , void >::accept ( VisitorType guest) const
pure virtualinherited

It call the visit method from the guest object.

Parameters
guestThe guest or visitor.
Returns
Any valid value define by the template type R.
virtual Expression* te::fe::Expression::clone ( ) const
pure virtualinherited
const std::string& te::se::Function::getFallbackValue ( ) const
inherited
void te::se::Function::setFallbackValue ( const std::string &  v)
inherited
void te::se::StringLength::setStringValue ( ParameterValue v)

Member Data Documentation

std::string te::se::Function::m_fallbackValue
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.

ParameterValue* te::se::StringLength::m_stringValue
private

Mandatory.

Definition at line 73 of file StringLength.h.


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