te::fe::FunctionName Class Reference

It is used to list the function names that are supported and the number of arguments each function requires. More...

#include <FunctionName.h>

Public Member Functions

Initializer Methods

Methods related to instantiation and destruction.

 FunctionName (const char *name, const unsigned int &nArgs)
 It initializes a new FunctionName. More...
 
 ~FunctionName ()
 Destructor. More...
 
Accessor methods

Methods used to get or set properties.

const std::string & getName () const
 It returns the function name. More...
 
unsigned int getNumArgs () const
 It returns the function arguments number. More...
 

Private Attributes

std::string m_name
 Function name. (Mandatory) More...
 
unsigned int m_nArgs
 Number of arguments. (Mandatory) More...
 

Detailed Description

It is used to list the function names that are supported and the number of arguments each function requires.

See also
ArithmeticOperators

Definition at line 46 of file FunctionName.h.

Constructor & Destructor Documentation

te::fe::FunctionName::FunctionName ( const char *  name,
const unsigned int nArgs 
)

It initializes a new FunctionName.

Parameters
nameThe function name.
nArgsThe number of arguments.

Definition at line 32 of file FunctionName.cpp.

References ~FunctionName().

te::fe::FunctionName::~FunctionName ( )
default

Destructor.

Referenced by FunctionName().

Member Function Documentation

const std::string & te::fe::FunctionName::getName ( ) const

It returns the function name.

Returns
The function name.

Definition at line 41 of file FunctionName.cpp.

References m_name.

unsigned int te::fe::FunctionName::getNumArgs ( ) const

It returns the function arguments number.

Returns
The function arguments number.

Definition at line 46 of file FunctionName.cpp.

References m_nArgs.

Member Data Documentation

std::string te::fe::FunctionName::m_name
private

Function name. (Mandatory)

Definition at line 91 of file FunctionName.h.

Referenced by getName().

unsigned int te::fe::FunctionName::m_nArgs
private

Number of arguments. (Mandatory)

Definition at line 92 of file FunctionName.h.

Referenced by getNumArgs().


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