1 #ifndef __JLANG_JSTATIC__
2 #define __JLANG_JSTATIC__
12 namespace JPP {
using namespace JLANG; }
19 template<
class T,
int N>
21 public JEquals<JStatic<T, N>, T>
57 operator const T& ()
const
104 return this->
value ==
object.value;
116 return this->value ==
value;
129 return in >>
object.value;
142 return out <<
object.value;
153 template<
class T,
int N>
160 template<
class T,
int N>
211 return this->value ==
object.value;
223 return this->value == value;
234 template<
class T,
int N>
243 #define STATIC_DATA_MEMBER(TYPE) static JLANG::JStatic<TYPE, __COUNTER__>
Auxiliary classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JArgument< T >::argument_type argument_type
Template definition of auxiliary base class for comparison of data structures.
JStatic & operator=(argument_type value)
Assignment operator.
const T * operator->() const
Smart pointer.
bool equals(argument_type value) const
Equals method.
JClass< T * >::argument_type argument_type
static T * value
Declaration of static data member.
bool equals(const JStatic &object) const
Equals method.
T * operator->()
Smart pointer.
Template data structure for static member declaration.
friend std::ostream & operator<<(std::ostream &out, const JStatic &object)
Write static object to output stream.
static T value
Declaration of static data member.
JStatic & operator=(argument_type value)
Assignment operator.
const T * operator->() const
Smart pointer.
bool equals(argument_type value) const
Equals method.
JClass< T >::argument_type argument_type
JStatic(argument_type value)
Constructor.
friend std::istream & operator>>(std::istream &in, JStatic &object)
Read static object from input stream.
T * operator->()
Smart pointer.
bool equals(const JStatic &object) const
Equals method.