Go to the documentation of this file.    1 #ifndef __JLANG__JOBJECT__ 
    2 #define __JLANG__JOBJECT__ 
    9 namespace JPP { 
using namespace JLANG; }
 
   29       static char buffer[
sizeof(T)];
 
   31       new (buffer) T(static_cast<const T&>(*
this));
 
   44       return new T(static_cast<const T&>(*
this));
 
   75     static char buffer[
sizeof(T)];
 
   77     new (buffer) T(
object);
 
   79     return (T&) (*buffer);
 
 
T & getInstance(const T &object)
Get static instance from temporary object.
 
Auxiliary base class for inline creation of a static value or clone from a temporary object.
 
data_type * clone() const
Get clone from temporary object.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Implementation of object output for STD compatible output iterator.
 
data_type & getInstance()
Get static instance from temporary object.
 
JObject & operator=(const JObject &)
 
JObject(const JObject &)
Copy constructor.
 
Auxiliary classes and methods for language specific functionality.
 
JObject()
Default constructor.