Jpp
Classes | Namespaces | Typedefs | Functions | Variables
JTag.hh File Reference
#include <istream>
#include <ostream>
#include <string>
#include "JLang/JException.hh"
#include "JLang/JType.hh"
#include "JLang/JNullType.hh"

Go to the source code of this file.

Classes

class  JNET::JTag
 ControlHost tag. More...
 
class  JTagAvailable< T >
 Test availability of JTag value for given class. More...
 
class  JTagAvailable< T >::JSmall
 
class  JTagAvailable< T >::JBig
 

Namespaces

 JNET
 Interprocess communication.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Typedefs

typedef long long int JNET::JTag_t
 Type definition of numerical ControlHost tag. More...
 

Functions

bool JNET::operator< (const JTag &first, const JTag &second)
 Less than operator for JTag. More...
 
bool JNET::operator== (const JTag &first, const JTag &second)
 Equal operator for JTag. More...
 
bool JNET::operator!= (const JTag &first, const JTag &second)
 Not equal operator for JTag. More...
 
template<class T >
JNET::JTag getTag ()
 Template definition for method returning JTag value. More...
 
template<class T >
JLANG::JNullType getTag (JLANG::JType< T > type)
 Default argument definition for method returning JTag. More...
 

Variables

static const size_t JNET::TAGSIZE = sizeof(JTag_t)
 
static const JTag JNET::DISPTAG_Subscribe ("_Subscri")
 Special ControlHost tags. More...
 
static const JTag JNET::DISPTAG_Gime ("_Gime")
 
static const JTag JNET::DISPTAG_Always ("_Always")
 
static const JTag JNET::DISPTAG_MyId ("_MyId")
 
static const JTag JNET::DISPTAG_Born ("Born")
 
static const JTag JNET::DISPTAG_Died ("Died")
 
static const JTag JNET::DISPTAG_ShowStat ("_ShowSta")
 
static const JTag JNET::DISPTAG_WhereIs ("_WhereIs")
 
static const JTag JNET::DISPTAG_Version ("_Version")
 
static const JTag JNET::DISPTAG_Debug ("_Debug")
 
static const JTag JNET::DISPTAG_UNDEFINED (0)
 

Function Documentation

◆ getTag() [1/2]

template<class T >
JNET::JTag getTag ( )
inline

Template definition for method returning JTag value.

The template argument refers to the data type for future ControlHost operations.

Definition at line 314 of file JTag.hh.

315 {
316  return getTag(JLANG::JType<T>());
317 }

◆ getTag() [2/2]

template<class T >
JLANG::JNullType getTag ( JLANG::JType< T >  type)
inline

Default argument definition for method returning JTag.

The method argument refers to the data type for future I/O operations. This method should be overloaded for each desired class and return a corresponding JTag value.

Parameters
typedata type
JLANG::JType
Auxiliary class for a type holder.
Definition: JType.hh:19
getTag
JNET::JTag getTag()
Template definition for method returning JTag value.
Definition: JTag.hh:314