C++ mpi module for stochmagnet_main Package
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
EXPR_LinearFunction Class Reference

This class describes. More...

#include <EXPR_LinearFunction.h>

Inheritance diagram for EXPR_LinearFunction:
Inheritance graph
[legend]
Collaboration diagram for EXPR_LinearFunction:
Collaboration graph
[legend]

Public Member Functions

virtual tMemSize getMemorySize () const override
 return the memory size of the class More...
 
virtual tMemSize getContentsMemorySize () const override
 return nthe memory size of the included associations More...
 
virtual void apply (const std::vector< tString > &args, EXPR_Node &node) const final
 apply the function to the environment More...
 
- Public Member Functions inherited from EXPR_Function
tString getName () const
 get the name of the function More...
 
- Public Member Functions inherited from CORE_Object
template<class T >
std::shared_ptr< T > getSharedPointer ()
 return the shared pointer for this More...
 
template<class T >
std::shared_ptr< const T > getConstSharedPointer () const
 return a const shared pointer for this More...
 
template<class T >
tBoolean isInstanceOf () const
 test if the clas T is an instance of this class More...
 
tString getClassName () const
 return the name of the class More...
 
tString getPointerString () const
 retrun the pointer of the class as a string More...
 
tString getIdentityString () const
 retrun the string identification of the class More...
 
virtual tString toString () const
 return the string representation of the object node More...
 

Static Public Member Functions

static CORE_UniquePointer< EXPR_LinearFunctionNew ()
 return an unique instance of this class More...
 
- Static Public Member Functions inherited from CORE_Object
static tBoolean EnableMemoryStack (const tBoolean &isMemoryChecked)
 enable the memory stack More...
 
static void EnableMemoryStack ()
 enable the memory stack
 
static void DisableMemoryStack ()
 disable the memory stack
 
static tBoolean IsMemoryStackEnabled ()
 return trur if the memory stack is enabled
 
static tString MemoryStackToString ()
 get the memory stack in string More...
 
static tIndex GetRegisteredClassesNumber ()
 get the memory stack in string More...
 

Protected Member Functions

 EXPR_LinearFunction ()
 create the class
 
virtual ~EXPR_LinearFunction ()
 delete the class
 
- Protected Member Functions inherited from EXPR_Function
 EXPR_Function ()
 create the class
 
virtual ~EXPR_Function ()
 delete the class
 
void setName (const tString &name)
 set the name of the function More...
 
- Protected Member Functions inherited from EXPR_Object
 EXPR_Object (void)
 create the class
 
virtual ~EXPR_Object (void)
 delete the class
 
- Protected Member Functions inherited from CORE_Object
 CORE_Object ()
 build an instance of the object
 
virtual ~CORE_Object ()
 destroy the instance of object std

 

Detailed Description

This class describes.

Author
Stéphane Despréaux
Version
1.0

Member Function Documentation

◆ apply()

virtual void EXPR_LinearFunction::apply ( const std::vector< tString > &  args,
EXPR_Node node 
) const
inlinefinalvirtual

apply the function to the environment

Parameters
[in]argsarguments of the function
[out]nodenode to apply

Implements EXPR_Function.

◆ getContentsMemorySize()

virtual tMemSize EXPR_LinearFunction::getContentsMemorySize ( ) const
inlineoverridevirtual

return nthe memory size of the included associations

Returns
the memory size of the storage in bytes 1 Kb = 1024 bytes 1 Mb = 1024 Kb 1 Gb = 1024 Mb 1 Tb = 1024 Gb 1 Hb = 1024 Tb

Reimplemented from EXPR_Object.

◆ getMemorySize()

virtual tMemSize EXPR_LinearFunction::getMemorySize ( ) const
inlineoverridevirtual

return the memory size of the class

Returns
the memory size of the class in bytes 1 octet = 1 byte 1 Ko = 1024 bytes 1 Mo = 1024 Ko 1 Go = 1024 Mo

Reimplemented from EXPR_Object.

◆ New()

static CORE_UniquePointer<EXPR_LinearFunction> EXPR_LinearFunction::New ( )
inlinestatic

return an unique instance of this class

Returns
the unique pointer to this

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