#include <PerRecordTags.h>
Public Member Functions | |
| PerRecordTags () | |
| PerRecordTags (std::string streamname, std::string treename, std::string filename, Int_t treeindexlo, Int_t treeindexhi, const VldContext &vldcontext) | |
| virtual | ~PerRecordTags () |
| void | SetStreamName (std::string streamname) |
| void | SetTreeName (std::string treename) |
| void | SetFileName (std::string filename) |
| void | SetIndexLo (Int_t indexlo) |
| void | SetIndexHi (Int_t indexhi) |
| void | SetVldContext (const VldContext &vld) |
| bool | IsBegin () const |
| bool | IsComplete () const |
| bool | IsEnd () const |
| bool | IsValid () const |
| std::string | GetStreamName () const |
| std::string | GetTreeName () const |
| std::string | GetFileName () const |
| Int_t | GetIndexLo () const |
| Int_t | GetIndexHi () const |
| const VldContext & | GetVldContext () const |
| std::ostream & | Print (std::ostream &s) const |
Private Attributes | |
| std::string | fStreamName |
| std::string | fTreeName |
| std::string | fFileName |
| Int_t | fIndexLo |
| Int_t | fIndexHi |
| VldContext | fVldContext |
Friends | |
| bool | operator< (const PerRecordTags &lhs, const PerRecordTags &rhs) |
| bool | operator== (const PerRecordTags &lhs, const PerRecordTags &rhs) |
| bool | operator!= (const PerRecordTags &lhs, const PerRecordTags &rhs) |
| bool | operator<= (const PerRecordTags &lhs, const PerRecordTags &rhs) |
| bool | operator> (const PerRecordTags &lhs, const PerRecordTags &rhs) |
| bool | operator>= (const PerRecordTags &lhs, const PerRecordTags &rhs) |
|
|
Definition at line 30 of file PerRecordTags.cxx. 00030 : 00031 fStreamName(""),fTreeName(""),fFileName(""), 00032 fIndexLo(-2),fIndexHi(-2),fVldContext() { 00033 // 00034 // Purpose: Normal constructor. 00035 // 00036 // Arguments: self-describing. IndexLo&Hi default is -2 because -1 may 00037 // be used for beginning-of-stream marker 00038 // 00039 // Return: n/a. 00040 // 00041 // Contact: S. Kasahara 00042 // 00043 00044 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 46 of file PerRecordTags.cxx. 00048 : 00049 fStreamName(streamname),fTreeName(treename),fFileName(filename), 00050 fIndexLo(indexlo),fIndexHi(indexhi),fVldContext(vld) { 00051 // 00052 // Purpose: Normal constructor. 00053 // 00054 // Arguments: self-describing 00055 // 00056 // Return: n/a. 00057 // 00058 // Contact: S. Kasahara 00059 // 00060 00061 }
|
|
|
Definition at line 63 of file PerRecordTags.cxx. 00063 {
00064 //
00065 // Purpose: PerRecordTags destructor.
00066 //
00067 // Contact: S. Kasahara
00068 //
00069
00070 }
|
|
|
Definition at line 51 of file PerRecordTags.h. Referenced by PerInputStreamManager::LoadRecordWithTag(). 00051 { return fFileName; }
|
|
|
Definition at line 53 of file PerRecordTags.h. Referenced by PerInputStream::AdvanceTagsList(), PerInputStreamManager::IsSelectedSet(), PerInputStreamManager::LoadRecordWithTag(), PerInputStream::RewindTagsList(), and PerValidate::StreamTagsSeq(). 00053 { return fIndexHi; }
|
|
|
Definition at line 52 of file PerRecordTags.h. Referenced by PerInputStream::AdvanceTagsList(), PerInputStreamManager::IsSelectedSet(), PerInputStreamManager::LoadRecordWithTag(), PerInputStream::RewindTagsList(), and PerValidate::StreamTagsSeq(). 00052 { return fIndexLo; }
|
|
|
Definition at line 49 of file PerRecordTags.h. 00049 { return fStreamName; }
|
|
|
Definition at line 50 of file PerRecordTags.h. Referenced by PerInputStreamManager::LoadRecordWithTag(). 00050 { return fTreeName; }
|
|
|
|
Definition at line 45 of file PerRecordTags.h. References Per::IsBegin(). Referenced by PerInputStream::AdvanceLowerBoundTags(), PerInputStreamManager::AdvanceRecordTags(), PerInputStream::AdvanceWindowTags(), PerInputStreamManager::LoadRecord(), PerInputStreamManager::RewindRecordTags(), PerInputStream::RewindTagsList(), and PerValidate::StreamTagsSeq(). 00045 { return Per::IsBegin(fVldContext); }
|
|
|
Definition at line 46 of file PerRecordTags.h. Referenced by PerInputStream::AdvanceTagsList(), PerInputStream::NextTags(), and PerInputStream::RewindTagsList().
|
|
|
Definition at line 47 of file PerRecordTags.h. References Per::IsEnd(). Referenced by PerInputStream::AdvanceLowerBoundTags(), PerInputStreamManager::AdvanceRecordTags(), PerInputStream::AdvanceTags(), PerInputStream::AdvanceTagsList(), PerInputStream::AdvanceWindowTags(), PerInputStreamManager::LoadRecord(), PerInputStreamManager::RewindRecordTags(), and PerValidate::StreamTagsSeq(). 00047 { return Per::IsEnd(fVldContext); }
|
|
|
Definition at line 48 of file PerRecordTags.h. References VldContext::IsValid(). 00048 { return fVldContext.IsValid(); }
|
|
|
Definition at line 72 of file PerRecordTags.cxx. References fFileName, fIndexHi, fIndexLo, fStreamName, fTreeName, and fVldContext. 00072 {
00073 //
00074 // Purpose: Print status of tags on ostream.
00075 //
00076 // Arguments: ms ostream to display on.
00077 //
00078 // Return: ostream reference.
00079 //
00080 // Contact: S. Kasahara
00081 //
00082
00083 ms << " PerRecordTags::Print" << endl;
00084 ms << " StreamName " << fStreamName << ", TreeName " << fTreeName << endl;
00085 ms << " FileName " << fFileName << endl;
00086 ms << " Tree Indices " << fIndexLo << " to " << fIndexHi << endl;
00087 ms << " VldContext " << fVldContext << endl;
00088
00089 return ms;
00090
00091 }
|
|
|
Definition at line 39 of file PerRecordTags.h. 00039 { fFileName = filename; }
|
|
|
Definition at line 41 of file PerRecordTags.h. Referenced by PerInputStream::AdvanceTagsList(). 00041 { fIndexHi = indexhi; }
|
|
|
Definition at line 40 of file PerRecordTags.h. Referenced by PerInputStream::RewindTagsList(). 00040 { fIndexLo = indexlo; }
|
|
|
Definition at line 37 of file PerRecordTags.h. 00037 { fStreamName = streamname; }
|
|
|
Definition at line 38 of file PerRecordTags.h. 00038 { fTreeName = treename; }
|
|
|
Definition at line 42 of file PerRecordTags.h. Referenced by PerInputStream::PerInputStream(). 00042 { fVldContext = vld; }
|
|
||||||||||||
|
Definition at line 87 of file PerRecordTags.h. 00087 {
00088 return !( lhs == rhs );
00089 }
|
|
||||||||||||
|
Definition at line 79 of file PerRecordTags.h. 00079 {
00080 return ( lhs.fVldContext < rhs.fVldContext );
00081 }
|
|
||||||||||||
|
Definition at line 91 of file PerRecordTags.h. 00091 {
00092 return ( lhs < rhs ) || ( lhs == rhs );
00093 }
|
|
||||||||||||
|
Definition at line 83 of file PerRecordTags.h. 00083 {
00084 return ( lhs.fVldContext == rhs.fVldContext );
00085 }
|
|
||||||||||||
|
Definition at line 95 of file PerRecordTags.h. 00095 {
00096 return !( lhs < rhs ) && !( lhs == rhs );
00097 }
|
|
||||||||||||
|
Definition at line 99 of file PerRecordTags.h. 00099 {
00100 return !( lhs < rhs );
00101 }
|
|
|
Definition at line 70 of file PerRecordTags.h. Referenced by Print(). |
|
|
Definition at line 72 of file PerRecordTags.h. Referenced by Print(). |
|
|
Definition at line 71 of file PerRecordTags.h. Referenced by Print(). |
|
|
Definition at line 68 of file PerRecordTags.h. Referenced by Print(). |
|
|
Definition at line 69 of file PerRecordTags.h. Referenced by Print(). |
|
|
Definition at line 73 of file PerRecordTags.h. Referenced by operator<(), operator==(), and Print(). |
1.3.9.1