Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

C_Name_List Class Reference

Class for data storing of the personnage's Name. More...

#include <C_Name_List.h>


Public Member Functions

 C_Name_List (void)
 The constructor Put to 0 the pointers.

 ~C_Name_List (void)
 The destructor Erase the personnage name.

C_Name_List * IsInList (char *Name)
 Check the presence of a name.

C_Name_List * AddName (char *Name)
 Add a name to the list.


Data Fields

char * Personnage_Name
 Store the personnage name.

C_Name_List * Next
 Next element of the list (incredible no?).


Detailed Description

Class for data storing of the personnage's Name.

Created when parsing a .ssa file or when a name is added.

See also:
C_SSA::Parse_SSA_File()


Constructor & Destructor Documentation

C_Name_List::C_Name_List void   ) 
 

The constructor Put to 0 the pointers.

C_Name_List::~C_Name_List void   ) 
 

The destructor Erase the personnage name.


Member Function Documentation

C_Name_List * C_Name_List::AddName char *  Name  ) 
 

Add a name to the list.

You should use this with the First element of the list

Parameters:
Name The Personnage name to add in the list
Returns:
Return the pointer to the created C_Name_List

C_Name_List * C_Name_List::IsInList char *  Name  ) 
 

Check the presence of a name.

You must utilise this with the first element of the list, otherwise, you'll search only in a part of the list

Parameters:
Name The name to find
Returns:
If the name is in the list, the function return a pointer to the name, 0 otherwise


Field Documentation

C_Name_List* C_Name_List::Next
 

Next element of the list (incredible no?).

char* C_Name_List::Personnage_Name
 

Store the personnage name.


The documentation for this class was generated from the following files:
Generated on Thu Jul 3 15:19:54 2003 for Sub Station Beta by doxygen1.3