Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
Translation Class Reference

#include <TransDB.h>

Inherits DBAttribs.

Public Member Functions

 Translation (void)
 
 ~Translation ()
 
void SetDB (TransDB *new_db)
 
TranslationClone (void)
 
void SetLangID (LangID new_id)
 
TransDBDB (void)
 
void ClearChanges (void)
 
void ClearProcessed (void)
 
void ClearMatched (void)
 
int Clear (void)
 
void Set (OLECHAR *string)
 
void Set (char *string)
 
OLECHAR * Get (void)
 
int Len (void)
 
char * GetSB (void)
 
void SetComment (OLECHAR *string)
 
void SetComment (char *string)
 
OLECHAR * Comment (void)
 
char * CommentSB (void)
 
int Revision (void)
 
void SetRevision (int new_rev)
 
LangID GetLangID (void)
 
char * Language (void)
 
void AddToTree (CTreeCtrl *tc, HTREEITEM parent, int changes=FALSE)
 
int TooLong (int maxlen)
 
int ValidateFormat (BabylonText *text)
 
int IsSent (void)
 
void Sent (int val)
 
- Public Member Functions inherited from DBAttribs
 DBAttribs (void)
 
void SetParent (DBAttribs *new_parent)
 
int IsChanged (void)
 
void Changed (void)
 
void NotChanged (void)
 
char ChangedSymbol (void)
 
int IsProcessed (void)
 
void Processed (void)
 
void NotProcessed (void)
 
void * Matched (void)
 
void Match (void *new_match)
 
void NotMatched (void)
 

Public Attributes

CWaveInfo WaveInfo
 

Detailed Description

Definition at line 148 of file TransDB.h.

Constructor & Destructor Documentation

◆ Translation()

Translation::Translation ( void )

Definition at line 1364 of file TransDB.cpp.

◆ ~Translation()

Translation::~Translation ( )

Definition at line 1373 of file TransDB.cpp.

Member Function Documentation

◆ AddToTree()

void Translation::AddToTree ( CTreeCtrl * tc,
HTREEITEM parent,
int changes = FALSE )

Definition at line 1406 of file TransDB.cpp.

◆ Clear()

int Translation::Clear ( void )
inline

Definition at line 173 of file TransDB.h.

◆ ClearChanges()

void Translation::ClearChanges ( void )
inline

Definition at line 170 of file TransDB.h.

◆ ClearMatched()

void Translation::ClearMatched ( void )
inline

Definition at line 172 of file TransDB.h.

◆ ClearProcessed()

void Translation::ClearProcessed ( void )
inline

Definition at line 171 of file TransDB.h.

◆ Clone()

Translation * Translation::Clone ( void )

Definition at line 1394 of file TransDB.cpp.

◆ Comment()

OLECHAR * Translation::Comment ( void )
inline

Definition at line 181 of file TransDB.h.

◆ CommentSB()

char * Translation::CommentSB ( void )
inline

Definition at line 182 of file TransDB.h.

◆ DB()

TransDB * Translation::DB ( void )
inline

Definition at line 169 of file TransDB.h.

◆ Get()

OLECHAR * Translation::Get ( void )
inline

Definition at line 176 of file TransDB.h.

◆ GetLangID()

LangID Translation::GetLangID ( void )
inline

Definition at line 185 of file TransDB.h.

◆ GetSB()

char * Translation::GetSB ( void )
inline

Definition at line 178 of file TransDB.h.

◆ IsSent()

int Translation::IsSent ( void )

Definition at line 1379 of file TransDB.cpp.

◆ Language()

char * Translation::Language ( void )
inline

Definition at line 186 of file TransDB.h.

◆ Len()

int Translation::Len ( void )
inline

Definition at line 177 of file TransDB.h.

◆ Revision()

int Translation::Revision ( void )
inline

Definition at line 183 of file TransDB.h.

◆ Sent()

void Translation::Sent ( int val)

Definition at line 1384 of file TransDB.cpp.

◆ Set() [1/2]

void Translation::Set ( char * string)
inline

Definition at line 175 of file TransDB.h.

◆ Set() [2/2]

void Translation::Set ( OLECHAR * string)
inline

Definition at line 174 of file TransDB.h.

◆ SetComment() [1/2]

void Translation::SetComment ( char * string)
inline

Definition at line 180 of file TransDB.h.

◆ SetComment() [2/2]

void Translation::SetComment ( OLECHAR * string)
inline

Definition at line 179 of file TransDB.h.

◆ SetDB()

void Translation::SetDB ( TransDB * new_db)

Definition at line 1389 of file TransDB.cpp.

◆ SetLangID()

void Translation::SetLangID ( LangID new_id)
inline

Definition at line 168 of file TransDB.h.

◆ SetRevision()

void Translation::SetRevision ( int new_rev)
inline

Definition at line 184 of file TransDB.h.

◆ TooLong()

int Translation::TooLong ( int maxlen)

Definition at line 1428 of file TransDB.cpp.

◆ ValidateFormat()

int Translation::ValidateFormat ( BabylonText * text)

Definition at line 1434 of file TransDB.cpp.

Member Data Documentation

◆ WaveInfo

CWaveInfo Translation::WaveInfo

Definition at line 161 of file TransDB.h.


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