#include <LATtypeId.h>
Public Types | |
enum | { LATtypeIdPrimOff = 0, LATtypeIdPrimMax = 0x000FFFFF, LATtypeIdPrimMsk = LATtypeIdPrimMax } |
enum | { LATtypeIdSecyOff = 20, LATtypeIdSecyMax = 0x00000FFF, LATtypeIdSecyMsk = LATtypeIdSecyMax << LATtypeIdSecyOff } |
enum | { LATtypeIdSecyAny = 0 } |
enum | { LATtypeIdAny = 0 } |
enum | { LATtypeIdNull = 0 } |
Public Member Functions | |
LATtypeIdValue_t | value () const |
LATtypeIdPrimary_t | getPrimary () const |
LATtypeIdSecondary_t | getSecondary () const |
int | setPrimary (LATtypeIdPrimary_t prim) |
Set the primary ID in a LATtypeId. | |
int | setSecondary (LATtypeIdSecondary_t secy) |
Set the secondary ID in a LATtypeId. | |
LATtypeId (const LATtypeId &v2) | |
LATtypeId (LATtypeIdPrimary_t prim, LATtypeIdSecondary_t secy) | |
LATtypeId (LATtypeIdValue_t value) | |
LATtypeId () | |
~LATtypeId () | |
Destructor. | |
LATtypeId & | operator= (const LATtypeId &id) |
Assignment. | |
int | operator== (const LATtypeId &id) const |
Equality test. | |
int | operator!= (const LATtypeId &id) const |
Inequality test. |
Ideas here are loosely copied from "Software developed for the BaBar Detector at the SLAC B-Factory". A number of the comments were copied verbatim.
Original notes from GDPF:
Concrete base class that contains all the knowledge necessary to decode type ID codes for DataFlow's transmissible objects. This is a fully private class not intended for use outside the odfTypeIdPrimary and odfTypeIdQualified classes, its subclasses.
R. Claus -- GLAST LAT I&T/Online - (claus@slac.stanford.edu)
Copyright: Copyright (C) 1997 California Institute of Technology
Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
Copy constructor |
|
Constructor initializing a LATtypeId from a |
|
Constructor initializing a LATtypeId from an |
|
Constructor to set up a NULL LATtypeId |
|
Destructor. This is a transmissible class and may contain no virtual functions. |
|
Return the primary ID portion of a LATtypeId |
|
Return the secondary ID portion of a LATtypeId |
|
Set the primary ID in a LATtypeId.
|
|
Set the secondary ID in a LATtypeId.
|
|
Return a LATtypeId as an |