home *** CD-ROM | disk | FTP | other *** search
- #include "CAlias.h"
-
- #include "Tokenizer.h"
-
-
-
- CAlias::CAlias(const char* name, const char* string){
- this->name=newString(name);
- this->string=newString(string);
- }
-
- CAlias::~CAlias(){
- delete[] name;
- delete[] string;
- }
-
- char* CAlias::getNameCopy(char* buff){
- strcpy(buff, name);
- return buff;
- }
-
- char* CAlias::getStringCopy(char* buff){
- strcpy(buff, string);
- return buff;
- }
- char* CAlias::getName(){
- return name;
- }
-
- char* CAlias::getString(){
- return string;
- }
-