| |
libFAUDES
Sections
Index
|
rtitypes.h File ReferenceDetailed DescriptionRuntime interface, faudes types.
Definition in file rtitypes.h.
Go to the source code of this file.
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;
Definition at line 719 of file rtitypes.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); }
Definition at line 759 of file rtitypes.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 740 of file rtitypes.h.
Value: ftemp const ftype* ftype::Cast(const Type* pOther) const { \ return dynamic_cast<const ftype*>(pOther);} Definition at line 737 of file rtitypes.h.
Value: ftemp ftype* ftype::Copy(void) const { \ return new ftype(*this); } Definition at line 734 of file rtitypes.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 746 of file rtitypes.h.
Value: ftemp ftype* ftype::New(void) const { \ return new ftype(); }
Definition at line 731 of file rtitypes.h.
|
libFAUDES 2.14g --- 2009-12-3 --- c++ source docu by doxygen 1.5.6