Jpp  18.0.0-rc.3
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs | Functions | Variables
JTag.hh File Reference

ControlHost tag. More...

#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 JNET::JTag value for given class. More...
 
class  JTagAvailable< T >::JSmall
 
class  JTagAvailable< T >::JBig
 

Namespaces

 JNET
 
 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 JNET::JTag value. More...
 
template<class T >
JLANG::JNullType getTag (JLANG::JType< T > type)
 Default argument definition for method returning JNET::JTag. More...
 

Variables

static const size_t JNET::TAGSIZE = sizeof(JTag_t)
 Size of ControlHost tag. More...
 
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)
 

Detailed Description

ControlHost tag.

Author
mdejong

Definition in file JTag.hh.

Function Documentation

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

Template definition for method returning JNET::JTag value.

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

Definition at line 319 of file JTag.hh.

320 {
321  return getTag(JLANG::JType<T>());
322 }
Auxiliary class for a type holder.
Definition: JType.hh:19
JNET::JTag getTag(JLANG::JType< KM3NETDAQ::JDAQTimeslice >)
Definition: JDAQTags.hh:96
template<class T >
JLANG::JNullType getTag ( JLANG::JType< T type)
inline

Default argument definition for method returning JNET::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 JNET::JTag value.

Parameters
typedata type