1 #ifndef __JNET__JCONTROLHOSTTAG__
2 #define __JNET__JCONTROLHOSTTAG__
21 namespace JPP {
using namespace JNET; }
88 return static_cast<const JTag&
>(*this);
99 return static_cast<JTag&
>(*this);
123 if (!tag.empty() && tag.size() <=
TAGSIZE) {
125 char* __p = (
char*) &(this->
id);
129 for ( ; i != tag.size(); ++i) {
175 const char* __p = (
const char*) &(this->
id);
177 while (pos != 0 && __p[pos-1] ==
'\0') {
203 return (
const char*) &(this->
id);
215 const char* __p = (
const char*) &(this->
id);
233 object.setTag(buffer);
249 return out <<
object.toString();
352 static JBig JTest(...);
static const JTag DISPTAG_Subscribe("_Subscri")
Special ControlHost tags.
Test availability of JNET::JTag value for given class.
static const JTag DISPTAG_Died("Died")
JTag(const JTag &tag)
Copy constructor.
const char * c_str() const
C-string.
bool operator<(const Head &first, const Head &second)
Less than operator.
JTag()
Default constructor.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
static const JTag DISPTAG_MyId("_MyId")
static const JTag DISPTAG_WhereIs("_WhereIs")
Auxiliary class for a type holder.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
static const JTag DISPTAG_Version("_Version")
const char operator[](int i) const
Get character.
friend std::ostream & operator<<(std::ostream &out, const JTag &object)
Write JTag to output stream.
bool operator==(Packet const &p, ID const &id)
friend std::istream & operator>>(std::istream &in, JTag &object)
Read JTag from input stream.
JTag_t getID() const
Get identifier.
void setTag(const JTag_t id)
Set tag.
void setTag(const JTag &tag)
Set tag.
JTag(const std::string &tag)
Constructor.
Auxiliary class for no type definition.
static const size_t TAGSIZE
Size of ControlHost tag.
static const JTag DISPTAG_UNDEFINED(0)
long long int JTag_t
Type definition of numerical ControlHost tag.
Exception for ControlHost.
void setTag(const std::string &tag)
Set tag.
const JTag & getTag() const
Get tag.
static const JTag DISPTAG_Born("Born")
std::string toString() const
Convert tag to string.
JTag(const JTag_t id)
Constructor.
static const JTag DISPTAG_Gime("_Gime")
JNullType operator!=(JAnyType, JAnyType)
static const JTag DISPTAG_Debug("_Debug")
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
static const JTag DISPTAG_Always("_Always")
static const JTag DISPTAG_ShowStat("_ShowSta")