$
$class Handle(%HTName) : public Handle(%HTInherits) {
$ public:
-$ inline void* operator new(size_t,void* anAddress)
+$ void* operator new(size_t,void* anAddress)
$ {
$ return anAddress;
$ }
-$ inline void* operator new(size_t size)
+$ void* operator new(size_t size)
$ {
$ return Standard::Allocate(size);
$ }
-$ inline void operator delete(void *anAddress)
+$ void operator delete(void *anAddress)
$ {
$ if (anAddress) Standard::Free((Standard_Address&)anAddress);
$ }
-$// inline void operator delete(void *anAddress, size_t size)
-$// {
-$// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
-$// }
$ Handle(%HTName)():Handle(%HTInherits)() {}
$ Handle(%HTName)(const Handle(%HTName)& aHandle) : Handle(%HTInherits)(aHandle)
$ {
$
$public:
$
-$ inline void* operator new(size_t,void* anAddress)
+$ void* operator new(size_t,void* anAddress)
$ {
$ return anAddress;
$ }
-$ inline void* operator new(size_t size)
+$ void* operator new(size_t size)
$ {
$ return Standard::Allocate(size);
$ }
-$ inline void operator delete(void *anAddress)
+$ void operator delete(void *anAddress)
$ {
$ if (anAddress) Standard::Free((Standard_Address&)anAddress);
$ }
-$// inline void operator delete(void *anAddress, size_t size)
-$// {
-$// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
-$// }
$ // Methods PUBLIC
$ //
$%TICPublicmets
$%TICInlineIncludes
$%TICUndefines
$
-$// other inline functions and methods (like "C++: function call" methods)
+$// other Inline functions and methods (like "C++: function call" methods)
$//
$%TICSuppMethod
$
$
$public:
$
-$ inline void* operator new(size_t,void* anAddress)
+$ void* operator new(size_t,void* anAddress)
$ {
$ return anAddress;
$ }
-$ inline void* operator new(size_t size)
+$ void* operator new(size_t size)
$ {
$ return Standard::Allocate(size);
$ }
-$ inline void operator delete(void *anAddress)
+$ void operator delete(void *anAddress)
$ {
$ if (anAddress) Standard::Free((Standard_Address&)anAddress);
$ }
-$// inline void operator delete(void *anAddress, size_t size)
-$// {
-$// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
-$// }
$ // Methods PUBLIC
$ //
$%TICPublicmets
$%TICInlineIncludes
$%TICUndefines
$
-$// other inline functions and methods (like "C++: function call" methods)
+$// other Inline functions and methods (like "C++: function call" methods)
$//
$%TICSuppMethod
$
$class %Class %Inherits {
$
$public:
-$ inline void* operator new(size_t,void* anAddress)
+$ void* operator new(size_t,void* anAddress)
$ {
$ return anAddress;
$ }
-$ inline void* operator new(size_t size)
+$ void* operator new(size_t size)
$ {
$ return Standard::Allocate(size);
$ }
-$ inline void operator delete(void *anAddress)
+$ void operator delete(void *anAddress)
$ {
$ if (anAddress) Standard::Free((Standard_Address&)anAddress);
$ }
-$// inline void operator delete(void *anAddress, size_t size)
-$// {
-$// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
-$// }
$
$ // Methods PUBLIC
$ //
$%TICInlineIncludes
$%TICUndefines
$
-$// other inline functions and methods (like "C++: function call" methods)
+$// other Inline functions and methods (like "C++: function call" methods)
$//
$%TICSuppMethod
$
$
$class %Class : public %Inherits {
$
-$ inline void* operator new(size_t,void* anAddress)
+$ void* operator new(size_t,void* anAddress)
$ {
$ return anAddress;
$ }
-$ inline void* operator new(size_t size)
+$ void* operator new(size_t size)
$ {
$ return Standard::Allocate(size);
$ }
-$ inline void operator delete(void *anAddress)
+$ void operator delete(void *anAddress)
$ {
$ if (anAddress) Standard::Free((Standard_Address&)anAddress);
$ }
-$// inline void operator delete(void *anAddress, size_t size)
-$// {
-$// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
-$// }
$public:
$ Standard_EXPORT static void Raise(const Standard_CString aMessage = "");
$ Standard_EXPORT static void Raise(Standard_SStream& aReason);
@end;
@template InlineMethodTemplateDec(%Method) is
-$inline %Method\^
+$%Method\^
@end;
@template MethodTemplateDef(%Method,%MBody) is
$class Handle(%HPName) : public Handle(%HPInherits) {
$ public:
$
-$ inline void* operator new(size_t,void* anAddress)
+$ void* operator new(size_t,void* anAddress)
$ {
$ return anAddress;
$ }
-$ inline void* operator new(size_t size)
+$ void* operator new(size_t size)
$ {
$ return StandardCSFDB_Allocate(size);
$ }
-$ inline void operator delete(void *anAddress)
+$ void operator delete(void *anAddress)
$ {
$ if (anAddress) Standard::Free((Standard_Address&)anAddress);
$ }
-$// inline void operator delete(void *anAddress, size_t size)
-$// {
-$// if (anAddress) StandardCSFDB_Free((Standard_Address&)anAddress,size);
-$// }
$
$ Handle(%HPName)():Handle(%HPInherits)() {}
$ Handle(%HPName)(const Handle(%HPName)& aHandle) : Handle(%HPInherits)(aHandle)
$
$
$public:
-$ inline void* operator new(size_t,void* anAddress)
+$ void* operator new(size_t,void* anAddress)
$ {
$ return anAddress;
$ }
-$ inline void* operator new(size_t size)
+$ void* operator new(size_t size)
$ {
$ return StandardCSFDB_Allocate(size);
$ }
-$ inline void operator delete(void *anAddress)
+$ void operator delete(void *anAddress)
$ {
$ if (anAddress) Standard::Free((Standard_Address&)anAddress);
$ }
-$// inline void operator delete(void *anAddress, size_t size)
-$// {
-$// if (anAddress) StandardCSFDB_Free((Standard_Address&)anAddress,size);
-$// }
$
$ // Methods PUBLIC
$ //
$%TICInlineIncludes
$%TICUndefines
$
-$// other inline functions and methods (like "C++: function call" methods)
+$// other Inline functions and methods (like "C++: function call" methods)
$//
$%TICSuppMethod
$
$
$public:
$
-$ inline Handle_%HPName();
-$ inline Handle_%HPName(const Handle_%HPName& AnObject);
-$ inline Handle_%HPName(const %HPName_ptr AnObject);
+$ Handle_%HPName();
+$ Handle_%HPName(const Handle_%HPName& AnObject);
+$ Handle_%HPName(const %HPName_ptr AnObject);
$ Standard_EXPORT ~Handle_%HPName();
-$ inline Handle_%HPName& operator=(const Handle_%HPName& AnObject);
+$ Handle_%HPName& operator=(const Handle_%HPName& AnObject);
$ Standard_EXPORT Handle_%HPName& operator=(const %HPName_ptr AnObject);
$ Standard_EXPORT static const Handle_%HPName DownCast(const Handle_Standard_Persistent&);
-$ inline Standard_Boolean operator==(const Handle_%HPName& AnObject) const ;
-$ inline Standard_Boolean operator!=(const Handle_%HPName& AnObject) const;
-$ inline Oid_%HPName* operator->() const;
+$ Standard_Boolean operator==(const Handle_%HPName& AnObject) const ;
+$ Standard_Boolean operator!=(const Handle_%HPName& AnObject) const;
+$ Oid_%HPName* operator->() const;
$};
$
$
-$inline Handle_%HPName::Handle_%HPName()
+$Handle_%HPName::Handle_%HPName()
${
$}
$
-$inline Handle_%HPName::Handle_%HPName(const Handle_%HPName& AnObject)
+$Handle_%HPName::Handle_%HPName(const Handle_%HPName& AnObject)
$ : Handle_%HPInherits(AnObject)
${
$}
$
-$inline Handle_%HPName::Handle_%HPName(const %HPName_ptr AnObject)
+$Handle_%HPName::Handle_%HPName(const %HPName_ptr AnObject)
$ : Handle_%HPInherits((const %HPInherits_ptr)AnObject)
${
$}
$
-$inline Handle_%HPName& Handle_%HPName::operator=(const Handle_%HPName& AnObject)
+$Handle_%HPName& Handle_%HPName::operator=(const Handle_%HPName& AnObject)
${
$ Identifier=AnObject.Identifier; return *this;
$}
$
-$inline Standard_Boolean Handle_%HPName::operator==(const Handle_%HPName& AnObject)const
+$Standard_Boolean Handle_%HPName::operator==(const Handle_%HPName& AnObject)const
${
$ return Identifier==AnObject.Identifier;
$}
$
-$inline Standard_Boolean Handle_%HPName::operator!=(const Handle_%HPName& AnObject)const
+$Standard_Boolean Handle_%HPName::operator!=(const Handle_%HPName& AnObject)const
${
$ return Identifier!=AnObject.Identifier;
$}
$
-$inline Oid_%HPName* Handle_%HPName::operator->() const
+$Oid_%HPName* Handle_%HPName::operator->() const
${
$ return (Oid_%HPName*)(void*)&(((Handle_%HPName_ptr)this)->Identifier);
$}
$%TICInlineIncludes
$%TICUndefines
$
-$// other inline functions and methods (like "C++: function call or Oid methods" methods)
+$// other Inline functions and methods (like "C++: function call or Oid methods" methods)
$//
$%TICSuppMethod
$
$public:
$
$ Handle_%HPName(const PHandle_Standard_Persistent& AnObject) : Handle_%HPInherits(AnObject) {}
-$ inline Handle_%HPName();
-$ inline Handle_%HPName(const Handle_%HPName& AnObject);
-$ inline Handle_%HPName(const %HPName* AnObject);
+$ Handle_%HPName();
+$ Handle_%HPName(const Handle_%HPName& AnObject);
+$ Handle_%HPName(const %HPName* AnObject);
$ ~Handle_%HPName();
-$ inline Handle_%HPName& operator=(const Handle_%HPName& AnObject);
+$ Handle_%HPName& operator=(const Handle_%HPName& AnObject);
$ Handle_%HPName& operator=(const %HPName* AnObject);
$ static const Handle_%HPName DownCast(const Handle_Standard_Persistent&);
-$ inline Standard_Boolean operator==(const Handle_%HPName& AnObject) const ;
-$ inline Standard_Boolean operator!=(const Handle_%HPName& AnObject) const;
-$ inline Oid_%HPName* operator->() const;
+$ Standard_Boolean operator==(const Handle_%HPName& AnObject) const ;
+$ Standard_Boolean operator!=(const Handle_%HPName& AnObject) const;
+$ Oid_%HPName* operator->() const;
$};
$
$class PHandle_%HPName : public PHandle_%HPInherits {
$ Handle(%HPName) operator->() const {Handle(%HPName) p(*this);return p;}
$};
$
-$inline Handle_%HPName::Handle_%HPName()
+$Handle_%HPName::Handle_%HPName()
${
$}
$
-$inline Handle_%HPName::Handle_%HPName(const Handle_%HPName& AnObject)
+$Handle_%HPName::Handle_%HPName(const Handle_%HPName& AnObject)
$ : Handle_%HPInherits(AnObject)
${
$}
$
-$inline Handle_%HPName::Handle_%HPName(const %HPName* AnObject)
+$Handle_%HPName::Handle_%HPName(const %HPName* AnObject)
$ : Handle_%HPInherits((const %HPInherits*)AnObject)
${
$}
$
-$inline Handle_%HPName& Handle_%HPName::operator=(const Handle_%HPName& AnObject)
+$Handle_%HPName& Handle_%HPName::operator=(const Handle_%HPName& AnObject)
${
$ Identifier=AnObject.Identifier; return *this;
$}
$
-$inline Standard_Boolean Handle_%HPName::operator==(const Handle_%HPName& AnObject)const
+$Standard_Boolean Handle_%HPName::operator==(const Handle_%HPName& AnObject)const
${
$ return Identifier==AnObject.Identifier;
$}
$
-$inline Standard_Boolean Handle_%HPName::operator!=(const Handle_%HPName& AnObject)const
+$Standard_Boolean Handle_%HPName::operator!=(const Handle_%HPName& AnObject)const
${
$ return Identifier!=AnObject.Identifier;
$}
$
-$inline Oid_%HPName* Handle_%HPName::operator->() const
+$Oid_%HPName* Handle_%HPName::operator->() const
${
$ return (Oid_%HPName*)(void*)&(((Handle_%HPName *)this)->Identifier);
$}
$%TICInlineIncludes
$%TICUndefines
$
-$// other inline functions and methods (like "C++: function call or Oid methods" methods)
+$// other Inline functions and methods (like "C++: function call or Oid methods" methods)
$//
$%TICSuppMethod
$