C++ main module for gpm Package  1.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
GPM_Edge Class Reference

This class describes a edge. More...

#include <GPM_Edge.h>

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

Public Member Functions

virtual SP::GPM_GraphElement NewInstance () const
 create a new instance More...
 
virtual SP::GPM_Edge NewCopyInstance () const
 create a new instance More...
 
virtual tString getGroupTypeName () const
 get the default group type name More...
 
void setSource (SP::GPM_Vertex v)
 set the source vertex More...
 
void setTarget (SP::GPM_Vertex v)
 set the target vertex More...
 
SP::GPM_Vertex getSource () const
 get the source vertex More...
 
SP::GPM_Vertex getTarget () const
 get the target vertex More...
 
virtual void saveToStream (ofstream &f) const
 
tBoolean loadFromStream (tString &f)
 
virtual tString toString () const
 turn the class into string More...
 
void setGraph (SP::GPM_Graph graph)
 set the attached graph More...
 
void setGraph (GPM_Graph &graph)
 set the attached graph More...
 
void setGraph (GPM_Graph *graph)
 set the attached graph More...
 
GPM_GraphgetGraph () const
 set the attached graph More...
 
virtual void copy (const GPM_GraphElement &node)
 copy More...
 
void setEnvironment (const map< tString, SP::GPM_Variable > &env)
 set the environment More...
 
virtual void updateEnvironment (const map< tString, SP::GPM_Variable > &env)
 update environment More...
 
SV::GPM_Variable addToVariables (const tString &variableName, SP::GPM_Variable var)
 add a value of variable in the variable with multiple cardinality whose name is variableName More...
 
GPM_VariableinitVariable (const tString &variableName)
 init the variable corresponding to name: create a variable with 1 value More...
 
void setVariable (const tString &variableName, const GPM_Variable &var)
 set a value of variable in the variable with single cardinality whose name is variableName More...
 
void setVariable (const tString &variableName, SP::GPM_Variable var)
 set a value of variable in the variable with single cardinality whose name is variableName More...
 
void setVariableValue (const tString &variableName, const tString &value)
 set the string value of a variable with single cardinality whose name is variableName More...
 
void setVariableValue (const tString &variableName, const double &value)
 set the double value of a variable with single cardinality whose name is variableName More...
 
void setVariableValue (const tString &variableName, const int &n, const double *value)
 set the double list value of a variable with single cardinality whose name is variableName More...
 
void setVariableValue (const tString &variableName, const tFlag &type, const int &n, const double *value)
 set the double list value of a variable with single cardinality whose name is variableName & set the type More...
 
tBoolean setVariableValuesFromString (const tString &variableName, const tFlag &type, const tString &values)
 set multiple values of variable from a string representation & set the variable type More...
 
void removeVariable (const tString &varName)
 remove the variable More...
 
void getVariableNames (vector< tString > &names) const
 get the variable names More...
 
tBoolean getVariables (const tString &variableName, SV::GPM_Variable &variable) const
 get variables More...
 
tString getVariableValuesToString (const tString &variableName) const
 get variables into a string representation More...
 
SP::GPM_Variable getVariable (const tString &variableName) const
 get variable More...
 
tBoolean getVariableValue (const tString &variableName, tString &value) const
 get the variable value More...
 
tBoolean getVariableValue (const tString &variableName, double &value) const
 set the variable More...
 
tBoolean getVariableValue (const tString &variableName, int &n, double *value) const
 set the variable More...
 
tFlag getVariableType (const tString &variableName) const
 get the variable type More...
 
virtual void clearVariables ()
 clear the variables More...
 
void setGroupName (const tString &v)
 set group name More...
 
tString getGroupName () const
 set group name More...
 
virtual tBoolean setTopologicalAction (const tFlag &action)
 set topological action More...
 
tFlag getTopologicalAction () const
 get toppologial action More...
 
tBoolean hasTriggerCutAction () const
 return true if the element has a trigger cut action More...
 
virtual tBoolean setTriggerGroupNameAction (const tFlag &action, const tString &value)
 set group name action More...
 
virtual tBoolean setTriggerAction (const tFlag &action, const tString &varName, SP::GPM_Variable var)
 set variable action More...
 
virtual tBoolean setTriggerAction (const tFlag &action, const tString &varName, const tString &value)
 set variable action More...
 
virtual tBoolean setTriggerAction (const tFlag &action, const tString &varName, const double &value)
 set variable action More...
 
virtual tBoolean setTriggerAction (const tFlag &action, const tString &varName, const int &n, const double *value)
 set variable action More...
 
virtual tBoolean setTriggerAction (const tFlag &action, const tString &varName, const tFlag &type, const int &n, const double *value)
 set variable action More...
 
tBoolean getTriggerActionValues (const tString &variableName, SV::GPM_Variable &variable) const
 get action variables More...
 
tFlag getTriggerAction (const tString &varName) const
 get the variable action More...
 
virtual void clearActions ()
 clear actions More...
 
virtual void executeTriggerActions ()
 execute trigger actions More...
 
void setId (const int &id)
 set graph More...
 
int getId () const
 get id More...
 
tBoolean parseValues (tString &f, vector< tString > &values) const
 parse the value sof the form {variableValue1;variableValue2;...} return false if the f string is not encapsulated by {} More...
 
void getSharedPointer (SP::CORE_Object &p)
 get the shared pointer of this class into p More...
 
void getSharedPointer (SPC::CORE_Object &p) const
 get the shared pointer of this class into p More...
 
tString getClassName () const
 return the class name of the object More...
 
tString getIdentityString () const
 return the identity string of the object of the form className_at_address More...
 
tString getPointerAddress () const
 return the identity string of the object More...
 
template<class T >
tBoolean isInstanceOf () const
 return true if the object is an instance of T More...
 
virtual void print ()
 print the class More...
 
virtual ostream & print (ostream &out) const
 print the class More...
 
virtual void print (const tString &message)
 print the class More...
 
virtual void print (const tInteger &str)
 print More...
 
virtual void print (const tRelativeInteger &str)
 print More...
 
virtual void print (const tReal &str)
 print More...
 
virtual void print (const int &str)
 print More...
 

Static Public Member Functions

static SP::GPM_Edge New (SP::GPM_Vertex source, SP::GPM_Vertex target)
 create an edge More...
 
static SP::GPM_Edge New (const int &id)
 create an edge More...
 
static SP::GPM_Edge New ()
 create an edge More...
 
static void turnBodyTextToLine (tString &bdy)
 
static void turnBodyLineToText (tString &bdy)
 
static tString getClassName (const tString &identityString)
 return the class name of the object using only the identity string More...
 
template<class T >
static tString getTypeName ()
 get type name More...
 
static tBoolean is64Architecture ()
 return true if the machine is a 64 bits machine More...
 
static tBoolean is32Architecture ()
 return true if the machine is a 32 bits machine More...
 
static tString pointer2String (const void *obj)
 return the string represantation of a pointer More...
 
static void setOutput (ostream &out)
 set output More...
 
static ostream & getOutput ()
 get output More...
 
static void printObjectsInMemory ()
 print object in memory More...
 
static ostream & print (ostream &out, const tString &message)
 print the class More...
 
static void outputPrint (const tString &message)
 

Static Public Attributes

static tBoolean mIsMemoryTesting =false
 indicator to store all classes created and deleted only for debuging version More...
 

Protected Member Functions

 GPM_Edge (SP::GPM_Vertex source, SP::GPM_Vertex target)
 create an object More...
 
virtual ~GPM_Edge (void)
 destroy an object. More...
 
virtual void toDoAfterThisSetting ()
 method called after This setting More...
 
void setThis (SP::CORE_Object p)
 set this weak shared pointer called toDoAfterThis setting method More...
 
virtual void setType (tString type)
 set the type of the object More...
 

Detailed Description

This class describes a edge.

Author
Stéphane Despréaux
Version
1.0

Constructor & Destructor Documentation

GPM_Edge::GPM_Edge ( SP::GPM_Vertex  source,
SP::GPM_Vertex  target 
)
protected

create an object

References setSource(), setTarget(), and CORE_Object::setType().

Referenced by New().

Here is the call graph for this function:

Here is the caller graph for this function:

GPM_Edge::~GPM_Edge ( void  )
protectedvirtual

destroy an object.

Member Function Documentation

SV::GPM_Variable GPM_GraphElement::addToVariables ( const tString variableName,
SP::GPM_Variable  var 
)
inherited

add a value of variable in the variable with multiple cardinality whose name is variableName

Referenced by GPM_GraphElement::copy(), GPM_GraphElement::loadFromStream(), and GPM_GraphElement::setVariableValuesFromString().

Here is the caller graph for this function:

void GPM_GraphElement::clearActions ( )
virtualinherited

clear actions

Reimplemented in GPM_Vertex.

Referenced by GPM_Vertex::clearActions(), and GPM_GraphElement::loadFromStream().

Here is the caller graph for this function:

virtual void GPM_GraphElement::clearVariables ( )
inlinevirtualinherited

clear the variables

Reimplemented in GPM_Node.

Referenced by GPM_Node::clearVariables(), GPM_GraphElement::copy(), GPM_GraphElement::loadFromStream(), and GPM_GraphElement::setEnvironment().

Here is the caller graph for this function:

void GPM_GraphElement::copy ( const GPM_GraphElement node)
virtualinherited
void GPM_GraphElement::executeTriggerActions ( )
virtualinherited

execute trigger actions

Reimplemented in GPM_Vertex.

References GPM_GraphElement::setGroupName(), tFlag, and tString.

Referenced by GPM_Vertex::executeTriggerActions().

Here is the call graph for this function:

Here is the caller graph for this function:

static tString CORE_Object::getClassName ( const tString identityString)
inlinestaticinherited

return the class name of the object using only the identity string

Referenced by CORE_Object::printObjectsInMemory().

Here is the caller graph for this function:

tString CORE_Object::getClassName ( ) const
inherited

return the class name of the object

Returns
the class name of the object

References tString.

Referenced by CORE_Object::getIdentityString().

Here is the caller graph for this function:

GPM_Graph * GPM_GraphElement::getGraph ( ) const
inherited
tString GPM_GraphElement::getGroupName ( ) const
inlineinherited

set group name

Referenced by GPM_GraphElement::copy().

Here is the caller graph for this function:

virtual tString GPM_Edge::getGroupTypeName ( ) const
inlinevirtual

get the default group type name

Implements GPM_GraphElement.

int GPM_GraphElement::getId ( ) const
inlineinherited
tString CORE_Object::getIdentityString ( ) const
inlineinherited

return the identity string of the object of the form className_at_address

Returns
the identity string of the object

References CORE_Object::getClassName(), CORE_Object::pointer2String(), and tString.

Referenced by CORE_Object::toString().

Here is the call graph for this function:

Here is the caller graph for this function:

static ostream& CORE_Object::getOutput ( )
inlinestaticinherited

get output

tString CORE_Object::getPointerAddress ( ) const
inlineinherited

return the identity string of the object

Returns
the identity string of the object

References CORE_Object::pointer2String().

Here is the call graph for this function:

void CORE_Object::getSharedPointer ( SP::CORE_Object &  p)
inlineinherited
void CORE_Object::getSharedPointer ( SPC::CORE_Object &  p) const
inlineinherited

get the shared pointer of this class into p

SP::GPM_Vertex GPM_Edge::getSource ( ) const
inline
SP::GPM_Vertex GPM_Edge::getTarget ( ) const
inline
tFlag GPM_GraphElement::getTopologicalAction ( ) const
inlineinherited

get toppologial action

tFlag GPM_GraphElement::getTriggerAction ( const tString varName) const
inlineinherited

get the variable action

Referenced by GPM_GraphElement::setTriggerAction().

Here is the caller graph for this function:

tBoolean GPM_GraphElement::getTriggerActionValues ( const tString variableName,
SV::GPM_Variable &  variable 
) const
inlineinherited

get action variables

Referenced by GPM_GraphElement::setTriggerAction().

Here is the caller graph for this function:

template<class T >
static tString CORE_Object::getTypeName ( )
inlinestaticinherited

get type name

References tString.

SP::GPM_Variable GPM_GraphElement::getVariable ( const tString variableName) const
inherited
void GPM_GraphElement::getVariableNames ( vector< tString > &  names) const
inlineinherited

get the variable names

Referenced by GPM_Rule::buildEnvironment(), GPM_PortGraph::buildEnvironments(), GPM_Vertex::canMerge(), GPM_GraphElement::copy(), and GPM_GraphElement::toString().

Here is the caller graph for this function:

tBoolean GPM_GraphElement::getVariables ( const tString variableName,
SV::GPM_Variable &  variable 
) const
inlineinherited

get variables

Referenced by GPM_Vertex::canMerge(), GPM_GraphElement::copy(), and GPM_GraphElement::getVariableValuesToString().

Here is the caller graph for this function:

tFlag GPM_GraphElement::getVariableType ( const tString variableName) const
inherited

get the variable type

References GPM_Variable::getType(), GPM_GraphElement::getVariable(), null, and GPM_Variable::REAL.

Referenced by GPM_ModelFunction::updatePatternGraphStates(), and GPM_ModelFunction::updateTransformerGraphStates().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_GraphElement::getVariableValue ( const tString variableName,
tString value 
) const
inherited

get the variable value

References GPM_GraphElement::getVariable(), null, and GPM_Variable::STRING.

Referenced by GPMG_DrawPanel::computeEdgesScale(), GPMG_DrawPanel::computeNodesScale(), and GPMG_DrawPanel::computePortsScale().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_GraphElement::getVariableValue ( const tString variableName,
double &  value 
) const
inherited

set the variable

References GPM_GraphElement::getVariable(), null, and GPM_Variable::STRING.

Here is the call graph for this function:

tBoolean GPM_GraphElement::getVariableValue ( const tString variableName,
int &  n,
double *  value 
) const
inherited

set the variable

References GPM_GraphElement::getVariable(), null, and GPM_Variable::STRING.

Here is the call graph for this function:

tString GPM_GraphElement::getVariableValuesToString ( const tString variableName) const
inherited

get variables into a string representation

References GPM_GraphElement::getVariables(), and tString.

Referenced by GPM_GraphElement::toString().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_GraphElement::hasTriggerCutAction ( ) const
inlineinherited

return true if the element has a trigger cut action

GPM_Variable & GPM_GraphElement::initVariable ( const tString variableName)
inherited

init the variable corresponding to name: create a variable with 1 value

References GPM_Variable::New(), and GPM_GraphElement::setVariable().

Referenced by GPM_GraphElement::copy(), GPM_GraphElement::setVariable(), and GPM_GraphElement::setVariableValue().

Here is the call graph for this function:

Here is the caller graph for this function:

static tBoolean CORE_Object::is32Architecture ( )
inlinestaticinherited

return true if the machine is a 32 bits machine

References CORE_Object::is64Architecture().

Here is the call graph for this function:

tBoolean CORE_Object::is64Architecture ( )
staticinherited

return true if the machine is a 64 bits machine

Referenced by CORE_Object::is32Architecture().

Here is the caller graph for this function:

template<class T >
tBoolean CORE_Object::isInstanceOf ( ) const
inlineinherited

return true if the object is an instance of T

References null.

Referenced by MATH_BinaryOperator::insertInTree(), MATH_UnaryOperator::insertInTree(), and MATH_EndBlock::insertInTree().

Here is the caller graph for this function:

tBoolean GPM_Edge::loadFromStream ( tString f)
virtual

brief load the edge from stream

Reimplemented from GPM_GraphElement.

References GPM_GraphElement::loadFromStream(), and tBoolean.

Here is the call graph for this function:

static SP::GPM_Edge GPM_Edge::New ( SP::GPM_Vertex  source,
SP::GPM_Vertex  target 
)
inlinestatic

create an edge

References GPM_Edge().

Here is the call graph for this function:

static SP::GPM_Edge GPM_Edge::New ( const int &  id)
inlinestatic

create an edge

References New().

Here is the call graph for this function:

static SP::GPM_Edge GPM_Edge::New ( )
inlinestatic

create an edge

Referenced by New(), NewCopyInstance(), GPM_Graph::newEdge(), GPM_ClassFactory::NewInstance(), and NewInstance().

Here is the caller graph for this function:

virtual SP::GPM_Edge GPM_Edge::NewCopyInstance ( ) const
inlinevirtual

create a new instance

References New().

Here is the call graph for this function:

virtual SP::GPM_GraphElement GPM_Edge::NewInstance ( ) const
inlinevirtual

create a new instance

Implements GPM_GraphElement.

Reimplemented in GPM_ModelEdge.

References New().

Referenced by GPM_Graph::copy().

Here is the call graph for this function:

Here is the caller graph for this function:

void CORE_Object::outputPrint ( const tString message)
staticinherited

print on output

References null, and CORE_Object::print().

Referenced by CORE_Exception::CORE_Exception().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_GraphElement::parseValues ( tString f,
vector< tString > &  values 
) const
inherited

parse the value sof the form {variableValue1;variableValue2;...} return false if the f string is not encapsulated by {}

References tString.

Referenced by GPM_Port::loadFromStream(), GPM_GraphElement::loadFromStream(), and GPM_GraphElement::setVariableValuesFromString().

Here is the caller graph for this function:

tString CORE_Object::pointer2String ( const void *  obj)
staticinherited

return the string represantation of a pointer

References tString.

Referenced by CORE_Object::CORE_Object(), CORE_Object::getIdentityString(), CORE_Object::getPointerAddress(), and CORE_Object::~CORE_Object().

Here is the caller graph for this function:

virtual void CORE_Object::print ( )
inlinevirtualinherited

print the class

References CORE_Object::toString().

Referenced by CORE_Object::outputPrint(), CORE_Out::print(), CORE_Object::print(), CORE_Out::printInt(), CORE_Out::println(), CORE_Out::printReal(), CORE_Out::printString(), and CORE_Out::setAction().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual ostream& CORE_Object::print ( ostream &  out) const
inlinevirtualinherited

print the class

References CORE_Object::print(), and CORE_Object::toString().

Here is the call graph for this function:

void CORE_Object::print ( const tString message)
virtualinherited

print the class

Reimplemented in CORE_Out.

References null, and CORE_Object::print().

Here is the call graph for this function:

void CORE_Object::print ( const tInteger str)
virtualinherited

print

References null.

void CORE_Object::print ( const tRelativeInteger str)
virtualinherited

print

References null.

void CORE_Object::print ( const tReal str)
virtualinherited

print

References null.

void CORE_Object::print ( const int &  str)
virtualinherited

print

References null.

static ostream& CORE_Object::print ( ostream &  out,
const tString message 
)
inlinestaticinherited

print the class

void CORE_Object::printObjectsInMemory ( )
staticinherited

print object in memory

References CORE_Object::getClassName(), CORE_Object::getSharedPointer(), and CORE_Object::mIsMemoryTesting.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_GraphElement::removeVariable ( const tString varName)
inlineinherited

remove the variable

void GPM_Edge::saveToStream ( ofstream &  f) const
virtual

brief save the port into stream

Parameters
OUTf: file to write on

Reimplemented from GPM_GraphElement.

References GPM_GraphElement::toString().

Here is the call graph for this function:

void GPM_GraphElement::setEnvironment ( const map< tString, SP::GPM_Variable > &  env)
inherited

set the environment

References GPM_GraphElement::clearVariables(), GPM_Variable::New(), and null.

Here is the call graph for this function:

void GPM_GraphElement::setGraph ( SP::GPM_Graph  graph)
inlineinherited
void GPM_GraphElement::setGraph ( GPM_Graph graph)
inherited

set the attached graph

References CORE_Object::getSharedPointer(), and GPM_GraphElement::setGraph().

Here is the call graph for this function:

void GPM_GraphElement::setGraph ( GPM_Graph graph)
inherited

set the attached graph

References CORE_Object::getSharedPointer(), null, and GPM_GraphElement::setGraph().

Here is the call graph for this function:

void GPM_GraphElement::setGroupName ( const tString v)
inlineinherited
void GPM_GraphElement::setId ( const int &  id)
inlineinherited

set graph

get graph

set id

static void CORE_Object::setOutput ( ostream &  out)
inlinestaticinherited

set output

void GPM_Edge::setSource ( SP::GPM_Vertex  v)
inline

set the source vertex

Referenced by GPM_Edge().

Here is the caller graph for this function:

void GPM_Edge::setTarget ( SP::GPM_Vertex  v)
inline

set the target vertex

Referenced by GPM_Edge().

Here is the caller graph for this function:

void CORE_Object::setThis ( SP::CORE_Object  p)
inlineprotectedinherited

set this weak shared pointer called toDoAfterThis setting method

References CORE_Object::toDoAfterThisSetting().

Here is the call graph for this function:

tBoolean GPM_GraphElement::setTopologicalAction ( const tFlag action)
virtualinherited

set topological action

References tBoolean.

tBoolean GPM_GraphElement::setTriggerAction ( const tFlag action,
const tString varName,
SP::GPM_Variable  var 
)
virtualinherited

set variable action

References GPM_GraphElement::getTriggerAction(), GPM_GraphElement::getTriggerActionValues(), tBoolean, and tFlag.

Referenced by GPM_GraphElement::setTriggerAction(), GPM_Snow3DFunction::updatePatternGraphStates(), and GPM_ModelFunction::updatePatternGraphStates().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_GraphElement::setTriggerAction ( const tFlag action,
const tString varName,
const tString value 
)
virtualinherited

set variable action

References GPM_Variable::New(), and GPM_GraphElement::setTriggerAction().

Here is the call graph for this function:

tBoolean GPM_GraphElement::setTriggerAction ( const tFlag action,
const tString varName,
const double &  value 
)
virtualinherited

set variable action

References GPM_Variable::New(), and GPM_GraphElement::setTriggerAction().

Here is the call graph for this function:

tBoolean GPM_GraphElement::setTriggerAction ( const tFlag action,
const tString varName,
const int &  n,
const double *  value 
)
virtualinherited

set variable action

References GPM_Variable::New(), and GPM_GraphElement::setTriggerAction().

Here is the call graph for this function:

tBoolean GPM_GraphElement::setTriggerAction ( const tFlag action,
const tString varName,
const tFlag type,
const int &  n,
const double *  value 
)
virtualinherited

set variable action

References GPM_Variable::New(), and GPM_GraphElement::setTriggerAction().

Here is the call graph for this function:

tBoolean GPM_GraphElement::setTriggerGroupNameAction ( const tFlag action,
const tString value 
)
virtualinherited

set group name action

References tBoolean.

virtual void CORE_Object::setType ( tString  type)
inlineprotectedvirtualinherited
void GPM_GraphElement::setVariable ( const tString variableName,
const GPM_Variable var 
)
inherited

set a value of variable in the variable with single cardinality whose name is variableName

References GPM_Variable::copy(), and GPM_GraphElement::initVariable().

Referenced by GPM_GraphElement::copy(), GPM_GraphElement::initVariable(), GPM_GraphElement::loadFromStream(), and GPM_GraphElement::setVariableValuesFromString().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_GraphElement::setVariable ( const tString variableName,
SP::GPM_Variable  var 
)
inherited

set a value of variable in the variable with single cardinality whose name is variableName

void GPM_GraphElement::setVariableValue ( const tString variableName,
const tString value 
)
inherited

set the string value of a variable with single cardinality whose name is variableName

References GPM_GraphElement::initVariable(), and GPM_Variable::setValue().

Referenced by GPM_ModelFunction::updateTransformerGraphStates().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_GraphElement::setVariableValue ( const tString variableName,
const double &  value 
)
inherited

set the double value of a variable with single cardinality whose name is variableName

References GPM_GraphElement::initVariable(), and GPM_Variable::setValue().

Here is the call graph for this function:

void GPM_GraphElement::setVariableValue ( const tString variableName,
const int &  n,
const double *  value 
)
inherited

set the double list value of a variable with single cardinality whose name is variableName

References GPM_GraphElement::initVariable(), and GPM_Variable::setValue().

Here is the call graph for this function:

void GPM_GraphElement::setVariableValue ( const tString variableName,
const tFlag type,
const int &  n,
const double *  value 
)
inherited

set the double list value of a variable with single cardinality whose name is variableName & set the type

References GPM_GraphElement::initVariable(), and GPM_Variable::setValue().

Here is the call graph for this function:

tBoolean GPM_GraphElement::setVariableValuesFromString ( const tString variableName,
const tFlag type,
const tString values 
)
inherited

set multiple values of variable from a string representation & set the variable type

References GPM_GraphElement::addToVariables(), GPM_Variable::New(), GPM_GraphElement::parseValues(), GPM_GraphElement::setVariable(), tBoolean, and tString.

Here is the call graph for this function:

virtual void GPM_GraphElement::toDoAfterThisSetting ( )
inlineprotectedvirtualinherited

method called after This setting

Reimplemented from CORE_Object.

References CORE_Object::toDoAfterThisSetting().

Here is the call graph for this function:

tString GPM_Edge::toString ( ) const
virtual

turn the class into string

Reimplemented from GPM_GraphElement.

References getSource(), getTarget(), null, CORE_Integer::toString(), GPM_GraphElement::toString(), and tString.

Here is the call graph for this function:

static void GPM_Object::turnBodyLineToText ( tString bdy)
inlinestaticinherited

brief turn the body from the line to text

References CORE_String::replaceAll().

Referenced by GPMG_Project::loadFromUIClass(), and GPM_ModelFunction::readRulesFromFile().

Here is the call graph for this function:

Here is the caller graph for this function:

static void GPM_Object::turnBodyTextToLine ( tString bdy)
inlinestaticinherited

brief turn the body from the text to line

References CORE_String::replaceAll().

Referenced by GPM_ModelFunction::saveRulesToFile(), and GPMG_Project::saveToUIClass().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_GraphElement::updateEnvironment ( const map< tString, SP::GPM_Variable > &  env)
virtualinherited

update environment

Reimplemented in GPM_ModelEdge, GPM_ModelPort, and GPM_ModelNode.

References GPM_Variable::New(), tBoolean, tFlag, and tString.

Referenced by GPM_ModelNode::updateEnvironment(), GPM_ModelPort::updateEnvironment(), GPM_ModelEdge::updateEnvironment(), and GPM_PortGraph::updateGraphElementsEnvironment().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

tBoolean CORE_Object::mIsMemoryTesting =false
staticinherited

indicator to store all classes created and deleted only for debuging version

Referenced by CORE_Object::CORE_Object(), main(), CORE_Object::printObjectsInMemory(), and CORE_Object::~CORE_Object().


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