|
libFAUDES
Sections
Index
|
cfl_types.h File ReferenceRuntime interface, faudes types. More... #include <list> #include <string> #include <vector> #include <map> #include <utility> #include <iostream> #include <typeinfo> #include <algorithm> #include "cfl_definitions.h" #include "cfl_token.h" #include "cfl_tokenreader.h" #include "cfl_tokenwriter.h" #include "cfl_exception.h" Go to the source code of this file.
Detailed DescriptionRuntime interface, faudes types. Definition in file cfl_types.h. Define Documentation
Value:
public: \ virtual ftype* New(void) const; \ virtual ftype* Copy(void) const; \ virtual const ftype* Cast(const Type* pOther) const; \ virtual ftype& Assign(const Type& rSrc); \ virtual bool Equal(const Type& rOther) const; \ virtual ftype& operator=(const ftype& rSrc); \ virtual bool operator==(const ftype& rOther) const; \ virtual bool operator!=(const ftype& rOther) const; faudes type declaration macro Definition at line 740 of file cfl_types.h.
Value:
ftype* ftype::New(void) const { \ return new ftype(); } \ ftype* ftype::Copy(void) const { \ return new ftype(*this); } \ const ftype* ftype::Cast(const Type* pOther) const { \ return dynamic_cast<const ftype*>(pOther);} \ ftype& ftype::Assign(const Type& rSrc) { \ if(const ftype* csattr=dynamic_cast<const ftype*>(&rSrc)) \ { this->Clear(); return DoAssign(*csattr);} \ fbase::Assign(rSrc); \ return *this;} \ ftype& ftype::operator=(const ftype& rSrc) { this->Clear(); return DoAssign(rSrc); } \ bool ftype::Equal(const Type& rOther) const { \ if(&rOther==this) return true; \ if(typeid(rOther) != typeid(*this)) return false; \ const ftype* csattr=dynamic_cast<const ftype*>(&rOther); \ if(!csattr) return false; \ if(!DoEqual(*csattr)) return false; \ return true;} \ bool ftype::operator==(const ftype& rOther) const { return DoEqual(rOther); } \ bool ftype::operator!=(const ftype& rOther) const { return !DoEqual(rOther); } faudes type implementation macros, overall Definition at line 781 of file cfl_types.h.
Value:
ftype& ftype::Assign(const Type& rSrc) { \ if(const ftype* csattr=dynamic_cast<const ftype*>(&rSrc)) { \ this->Clear(); return DoAssign(*csattr);} \ fbase::Assign(rSrc); \ return *this;} \ ftype& ftype::operator=(const ftype& rSrc) { this->Clear(); return DoAssign(rSrc); } Definition at line 761 of file cfl_types.h.
Value:
const ftype* ftype::Cast(const Type* pOther) const { \ return dynamic_cast<const ftype*>(pOther);} Definition at line 758 of file cfl_types.h.
Value:
ftype* ftype::Copy(void) const { \ return new ftype(*this); } Definition at line 755 of file cfl_types.h.
Value:
bool ftype::Equal(const Type& rOther) const { \ if(&rOther==this) return true; \ if(typeid(rOther) != typeid(*this)) return false; \ const ftype* csattr=dynamic_cast<const ftype*>(&rOther); \ if(!csattr) return false; \ if(!DoEqual(*csattr)) return false; \ return true;} \ bool ftype::operator==(const ftype& rOther) const { return DoEqual(rOther); } \ bool ftype::operator!=(const ftype& rOther) const { return !DoEqual(rOther); } Definition at line 768 of file cfl_types.h.
Value:
ftype* ftype::New(void) const { \ return new ftype(); } faudes type implementation macros, individual Definition at line 752 of file cfl_types.h.
Value:
ftemp ftype* ftype::New(void) const { \ return new ftype(); } \ ftemp ftype* ftype::Copy(void) const { \ return new ftype(*this); } \ ftemp const ftype* ftype::Cast(const Type* pOther) const { \ return dynamic_cast<const ftype*>(pOther);} \ ftemp ftype& ftype::Assign(const Type& rSrc) { \ if(const ftype* csattr=dynamic_cast<const ftype*>(&rSrc)) \ { this->Clear(); return DoAssign(*csattr);} \ fbase::Assign(rSrc); \ return *this;} \ ftemp ftype& ftype::operator=(const ftype& rSrc) { this->Clear(); return DoAssign(rSrc); } \ ftemp bool ftype::Equal(const Type& rOther) const { \ if(&rOther==this) return true; \ if(typeid(rOther) != typeid(*this)) return false; \ const ftype* csattr=dynamic_cast<const ftype*>(&rOther); \ if(!csattr) return false; \ if(!DoEqual(*csattr)) return false; \ return true;} \ ftemp bool ftype::operator==(const ftype& rOther) const { return DoEqual(rOther); } \ ftemp bool ftype::operator!=(const ftype& rOther) const { return !DoEqual(rOther); } faudes type implementation macros, overall, template version Definition at line 835 of file cfl_types.h.
Value:
ftemp ftype& ftype::Assign(const Type& rSrc) { \ if(const ftype* csattr=dynamic_cast<const ftype*>(&rSrc)) { \ this->Clear(); return DoAssign(*csattr);} \ fbase::Assign(rSrc); \ return *this;} \ ftemp ftype& ftype::operator=(const ftype& rSrc) { this->Clear(); return DoAssign(rSrc); } Definition at line 815 of file cfl_types.h.
Value:
ftemp const ftype* ftype::Cast(const Type* pOther) const { \ return dynamic_cast<const ftype*>(pOther);} Definition at line 812 of file cfl_types.h.
Value:
ftemp ftype* ftype::Copy(void) const { \ return new ftype(*this); } Definition at line 809 of file cfl_types.h.
Value:
ftemp bool ftype::Equal(const Type& rOther) const { \ if(&rOther==this) return true; \ if(typeid(rOther) != typeid(*this)) return false; \ const ftype* csattr=dynamic_cast<const ftype*>(&rOther); \ if(!csattr) return false; \ if(!DoEqual(*csattr)) return false; \ return true;} \ ftemp bool ftype::operator==(const ftype& rOther) const { return DoEqual(rOther); } \ ftemp bool ftype::operator!=(const ftype& rOther) const { return !DoEqual(rOther); } Definition at line 822 of file cfl_types.h.
Value:
ftemp ftype* ftype::New(void) const { \ return new ftype(); } faudes type implementation macros, individual, template version Definition at line 806 of file cfl_types.h. |
libFAUDES 2.16b --- 2010-9-8 --- c++ source docu by doxygen 1.6.3