67 OPEN_NET_PUBLIC Status
AppendCode(
const char * aFileName);
82 OPEN_NET_PUBLIC
virtual Status
AppendCode(
const char * aCode,
unsigned int aCodeSize_byte);
95 OPEN_NET_PUBLIC Status
AppendCode(
const SourceCode & aCode);
116 OPEN_NET_PUBLIC
const char *
GetName()
const;
126 OPEN_NET_PUBLIC
virtual Status
ResetCode();
158 OPEN_NET_PUBLIC
virtual Status
SetCode(
const char * aFileName);
173 OPEN_NET_PUBLIC
virtual Status
SetCode(
const char * aCode,
unsigned int aCodeSize_byte);
185 OPEN_NET_PUBLIC Status
SetName(
const char * aName);
197 OPEN_NET_PUBLIC
virtual Status
Display(FILE * aOut)
const;
210 OPEN_NET_PUBLIC
virtual unsigned int Edit_Remove(
const char * aSearch);
227 OPEN_NET_PUBLIC
virtual unsigned int Edit_Replace(
const char * aSearch,
const char * aReplace);
240 OPEN_NET_PUBLIC
unsigned int Edit_Search(
const char * aSearch);
244 unsigned int GetArgumentCount()
const;
245 const char * GetCode()
const;
250 unsigned int mCodeSize_byte;
256 const SourceCode & operator = (
const SourceCode &);
258 unsigned int Edit_Replace_ByEqual (
const char * aSearch,
const char * aReplace,
unsigned int aLength);
259 unsigned int Edit_Replace_ByLonger (
const char * aSearch,
const char * aReplace,
unsigned int aSearchLength,
unsigned int aReplaceLength);
260 unsigned int Edit_Replace_ByShorter(
const char * aSearch,
const char * aReplace,
unsigned int aSearchLength,
unsigned int aReplaceLength);
virtual OPEN_NET_PUBLIC Status ResetCode()
Reinitialiser le code.
virtual OPEN_NET_PUBLIC Status SetCode(const char *aFileName)
Assigner le code en utilisant un fichier source.
OPEN_NET_PUBLIC unsigned int GetCodeSize() const
Obtenir la taille du code.
virtual OPEN_NET_PUBLIC unsigned int Edit_Replace(const char *aSearch, const char *aReplace)
Remplacer des chaines dans le code.
OPEN_NET_PUBLIC const char * GetName() const
Obtenir le nom de l'instance.
virtual OPEN_NET_PUBLIC unsigned int Edit_Remove(const char *aSearch)
Retirer des chaines du code.
La classe SourceCode.
Definition: SourceCode.h:30
virtual OPEN_NET_PUBLIC Status SetArgumentCount(unsigned int aArgCount)
Assigner un nombre d'argument à passer à la fonction ou au kernel.
virtual OPEN_NET_PUBLIC ~SourceCode()
Destructeur.
OPEN_NET_PUBLIC Status AppendCode(const char *aFileName)
Ajouter du code en utilisant un fichier source.
OPEN_NET_PUBLIC Status SetName(const char *aName)
Assigner le nom de l'instance.
OPEN_NET_PUBLIC unsigned int Edit_Search(const char *aSearch)
Rechercher une chaines dans le code.
virtual OPEN_NET_PUBLIC Status Display(FILE *aOut) const
Afficher.
OPEN_NET_PUBLIC SourceCode()
Constructeur.