Commit 16d89cdf authored by Kevin Coulomb's avatar Kevin Coulomb
Browse files

Ajout des methodes suivantes pour la structure de donnees

parent 00711de0
......@@ -22,8 +22,10 @@ public :
*\fn define_container_type()
*\brief This function is to define a container type
*
*\param String : the type of his parent container
* Name : an object that can contain a name, an alias or both
*/
void define_container_type();
void define_container_type(String container_type_parent, Name alias);
......@@ -33,8 +35,14 @@ public :
*\fn create_container()
*\brief This function is to create a container
*
*
*\param
* Date :
* Name : an object that can contain a name, an alias or both
* String : the type of the container
* String : the parent of the container
*/
Trace create_container();
Trace create_container(Date time, Name alias, String container, String parent);
/*!
......@@ -42,136 +50,212 @@ public :
*\fn destroy_container()
*\brief This function is to destroy a container
*
*\param
* Date :
* Name : an object that can contain a name, an alias or both
* String : the type of the container
*/
Trace destroy_container();
void destroy_container(Date time, Name alias, String type);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn define_event_type()
*\brief This function is to define a type of event
*
*\param
* Name : an object that can contain a name, an alias or both
* String : the type of the container
*/
Trace destroy_container();
void define_event_type(Name alias, String container_type);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn define_state_type()
*\brief This function is to define a type of state
*
*\param
* Name : an object that can contain a name, an alias or both
* String : the type of the container
*
*/
Trace destroy_container();
void define_state_type(Name alias, String container_type);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn define_variable_type()
*\brief This function is to define a type of variable
*
*\param
* Name : an object that can contain a name, an alias or both
* String : the type of the container
*
*/
Trace destroy_container();
void define_variable_type(Name alias, String container_type);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn define_link_type()
*\brief This function is to define a type of link
*
*\param
* Name : an object that can contain a name, an alias or both
* String : the type of the container that is the common ancestor of both container
* String : the type of the container where the link starts
* String : the type of the container where the link goes
*
*/
Trace destroy_container();
void define_link_type(Name alias, String container_type_ancestor, String type_container_source, String type_container_destination);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn define_entity_value()
*\brief This function is to define_entity_value
*
*\param
* Name : an object that can contain a name, an alias or both
* String : the type of the entity
*
*/
Trace destroy_container();
void define_entity_value(Name alias, String entity_type);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn set_state()
*\brief This function is to set a state
*
*\param
* Date :
* String : the type of the entity
* String : the container
* String : the new value of the state
*
*/
Trace destroy_container();
void set_state(Date time, String type, String container, String value);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn push_state()
*\brief This function is to push a state on the stack
*
*\param
* Date :
* String : the type of the entity
* String : the container
* String : the new value of the state
*
*/
Trace destroy_container();
void push_state(Date time, String type, String container, String value);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn pop_state()
*\brief This function is to pop a state from the stack
*
*\param
* Date :
* String : the type of the entity
* String : the container
*
*/
Trace destroy_container();
void pop_state(Date time, String type, String container);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn new_event()
*\brief This function is to create a new event
*
*\param
* Date :
* String : the type of the entity
* String : the container
* String : the value of the event
*
*/
Trace destroy_container();
void new_event(Date time, String type, String container, String value);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn set_variable()
*\brief This function is to set a value to the variable
*
*\param
* Date :
* String : the type of the entity
* String : the container
* double : the value of the variable
*/
Trace destroy_container();
void set_variable(Date time, String type, String container, double value);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn add_variable()
*\brief This function is to add a new variable
*
*\param
* Date :
* String : the type of the entity
* String : the container
* double : the value of the variable
*
*/
Trace destroy_container();
void add_variable(Date time, String type, String container, double value);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn sub_variable()
*\brief This function is to substract a value to the variable
*
*\param
* Date :
* String : the type of the entity
* String : the container
* double : the value of the variable
*
*/
Trace destroy_container();
void sub_variable(Date time, String type, String container, double value);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn start_link()
*\brief This function is to start a link
*
*\param
* Date :
* String : the type of the entity
* String : the container
* String : the source of the link
* String : the value of the variable
*
*/
Trace destroy_container();
void start_link(Date time, String type, String container, String src, String value, String key);
/*!
*
*\fn destroy_container()
*\brief This function is to destroy a container
*\fn end_link()
*\brief This function is to end a link
*
*\param
* Date :
* String : the type of the entity
* String : the container
* String : the destination of the link
* String : the value of the variable
*
*/
Trace destroy_container();
}
void end_link(Date time, String type, String container, String dest, String value, String key);
}//end class
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment