#include <CTagBaseCommand.h>
Public Methods | |
| CTagBaseCommand () | |
| Default constructor.  | |
| ~CTagBaseCommand () | |
| Destructor.  | |
| unsigned int | getTagBase () const | 
| unsigned int | getTagSize () const | 
| virtual int | operator() (CTCLInterpreter &rInterp, CTCLResult &rResult, int argc, char **argv) | 
| int | SetBase (CTCLInterpreter &rinterp, CTCLResult &rResult, int argc, char **argv) | 
| int | List (CTCLInterpreter &rInterp, CTCLResult &rResult, int argc, char **argv) | 
| int | NumTags (CTCLInterpreter &rfinterp, CTCLResult &rResult, int argc, char **argv) | 
| unsigned int | getTag (unsigned int nOffset) | 
Static Protected Methods | |
| void | Usage (CTCLResult &rResult) | 
| void | EncodeInteger (CTCLResult &rResult, int value) | 
Private Methods | |
| CTagBaseCommand (const CTagBaseCommand &rhs) | |
| Copy constructor.  | |
| CTagBaseCommand & | operator= (const CTagBaseCommand &rhs) | 
| Assignment.  | |
| int | operator== (const CTagBaseCommand &rhs) const | 
| Comparison for equality.  | |
| int | operator!= (const CTagBaseCommand &rhs) const | 
Private Attributes | |
| unsigned int | m_nTagBase | 
| unsigned int | m_nTagBits | 
Definition at line 302 of file CTagBaseCommand.h.
      
  | 
  
| 
 Default constructor. Default constructor. This is called when declarations of the form e.g.: 
 Definition at line 297 of file CTagBaseCommand.cpp. References DEFAULTTAGBASE, and DEFAULTTAGWIDTH.  | 
  
      
  | 
  
| 
 Destructor. 
 Definition at line 311 of file CTagBaseCommand.h.  | 
  
      
  | 
  
| 
 Copy constructor. 
  | 
  
      
  | 
  ||||||||||||
| 
 Utility member to encode an integer into a result string. 
 Definition at line 540 of file CTagBaseCommand.cpp.  | 
  
      
  | 
  
| 
 Gets a tag from the set. 
 
 Definition at line 508 of file CTagBaseCommand.cpp. References m_nTagBase, and m_nTagBits.  | 
  
      
  | 
  
| 
 
 Definition at line 323 of file CTagBaseCommand.h. References m_nTagBase.  | 
  
      
  | 
  
| 
 
 Definition at line 326 of file CTagBaseCommand.h. References m_nTagBits.  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Lists the tag base currently in use. The result is the stringified value of m_nTagBase. 
 
 
 
 Definition at line 456 of file CTagBaseCommand.cpp. References EncodeInteger(), m_nTagBase, and Usage(). Referenced by operator()().  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Returns the number of items in a tag set. The result is the stringified valueof m_nTagBits. 
 
 
 
 Definition at line 487 of file CTagBaseCommand.cpp. References EncodeInteger(), m_nTagBits, and Usage(). Referenced by operator()().  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Does initial command decode on the tagbase command. Control is then dispatched to one of SetBase, List, or NumTags depending on the subcommand or lack of a subcommand. 
 
 
 Definition at line 330 of file CTagBaseCommand.cpp.  | 
  
      
  | 
  
| 
 Assignment. 
  | 
  
      
  | 
  
| 
 Comparison for equality. 
  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Sets the tag base for the buffers emitted by this daq Readout program. Command Syntax: tagbase newbase [newsize] 
 
 
 
 
 Definition at line 383 of file CTagBaseCommand.cpp. References DEFAULTTAGWIDTH, LASTVALIDTAG, m_nTagBase, m_nTagBits, and Usage(). Referenced by operator()().  | 
  
      
  | 
  
| 
 Append a usage text string to the result object. This is usually called in response to a failed parse. 
 Definition at line 524 of file CTagBaseCommand.cpp. Referenced by List(), NumTags(), operator()(), and SetBase().  | 
  
      
  | 
  
| 
 
 Definition at line 305 of file CTagBaseCommand.h. Referenced by getTag(), getTagBase(), List(), and SetBase().  | 
  
      
  | 
  
| 
 
 Definition at line 306 of file CTagBaseCommand.h. Referenced by getTag(), getTagSize(), NumTags(), and SetBase().  | 
  
1.2.16