#include <Sequence.h>
Public Member Functions | |
int | algoNum () const |
int | algoNum () const |
Retrieve number of algorithms. | |
std::vector< std::string > & | algoVector () |
std::vector< std::string > & | algoVector () |
Retrieve algorithm vector reference. | |
const std::string & | getInputID () const |
const std::string & | getInputID () const |
const std::string & | getOutputID () const |
const std::string & | getOutputID () const |
const std::string & | getSeqID () const |
const std::string & | getSeqID () const |
int | inputNum () const |
int | inputNum () const |
Retrieve number of inputs. | |
void | makeVectors (std::string algoString) |
void | makeVectors (std::string algoString) |
Build all std::vectors from string XML information. | |
void | print () |
void | print () |
Print all std::vectors and all other information for a given sequence. | |
Sequence () | |
Sequence () | |
void | setAlgoNum (int algoNum) |
void | setAlgoNum (int algoNum) |
Retrieve number of algorithms. | |
void | setInputID (std::string inputID) |
void | setInputID (std::string inputID) |
void | setInputNum (int inputNum) |
void | setInputNum (int inputNum) |
Set number of inputs. | |
void | setOutputID (std::string outputID) |
void | setOutputID (std::string outputID) |
void | setSeqID (std::string seqID) |
void | setSeqID (std::string seqID) |
virtual | ~Sequence () |
virtual | ~Sequence () |
Private Attributes | |
std::string | m_inputID |
MessageSvcProvider * | m_msgSvcProvider |
MessageSvcProvider * | m_msgSvcProvider |
std::string | m_outputID |
int | m_sequenceAlgoNum |
std::vector< std::string > | m_sequenceAlgoVector |
std::vector< std::string > | m_sequenceAlgoVector |
std::string | m_sequenceID |
int | m_sequenceInputNum |
|
00005 : 00006 m_sequenceAlgoVector(), m_sequenceInputNum(0), m_sequenceAlgoNum(0) { 00007 m_msgSvcProvider = MessageSvcProvider::instance(); 00008 }
|
|
00010 {}
|
|
|
|
|
|
|
|
Retrieve number of algorithms.
00018 {
00019 return m_sequenceAlgoNum;
00020 }
|
|
|
|
Retrieve algorithm vector reference.
00013 {
00014 return m_sequenceAlgoVector;
00015 }
|
|
00031 {
00032 return m_inputID;
00033 }
|
|
00031 {
00032 return m_inputID;
00033 }
|
|
00037 {
00038 return m_outputID;
00039 }
|
|
00037 {
00038 return m_outputID;
00039 }
|
|
00025 {
00026 return m_sequenceID;
00027 }
|
|
00025 {
00026 return m_sequenceID;
00027 }
|
|
|
|
Retrieve number of inputs.
00023 {
00024 return m_sequenceInputNum;
00025 }
|
|
|
|
Build all std::vectors from string XML information.
00038 { 00039 std::string::size_type begIdx,endIdx; 00040 std::string helpString; 00041 std::string delims(" "); 00042 00043 // Do it for the algorithm string: 00044 begIdx = algoString.find_first_not_of(delims); 00045 while (begIdx != std::string::npos) { 00046 endIdx = algoString.find_first_of(delims, begIdx); 00047 if (endIdx == std::string::npos) 00048 endIdx = algoString.length(); 00049 helpString = algoString.substr(begIdx, endIdx - begIdx); 00050 //std::cout<<"Sequence "<<helpString<<std::endl; 00051 algoVector().push_back(helpString); 00052 setAlgoNum(algoNum() + 1); 00053 begIdx = algoString.find_first_not_of(delims, endIdx); 00054 } 00055 }
|
|
|
|
Print all std::vectors and all other information for a given sequence.
00058 { 00059 MsgStream log(m_msgSvcProvider->msgSvc(), "Sequence"); 00060 log << MSG::INFO << "EventFilter: "; 00061 log << MSG::INFO << "\t Algo(s): "; 00062 for(std::vector<std::string>::iterator i = algoVector().begin(); 00063 i!=algoVector().end(); ++i){ 00064 log << MSG::INFO << *i << ' '; 00065 } 00066 log << endreq; 00067 }
|
|
|
|
Retrieve number of algorithms.
00028 { 00029 m_sequenceAlgoNum = algoNum; 00030 }
|
|
00028 { 00029 m_inputID = inputID; 00030 }
|
|
00028 { 00029 m_inputID = inputID; 00030 }
|
|
|
|
Set number of inputs.
00033 { 00034 m_sequenceInputNum = inputNum; 00035 }
|
|
00034 { 00035 m_outputID = outputID; 00036 }
|
|
00034 { 00035 m_outputID = outputID; 00036 }
|
|
00022 { 00023 m_sequenceID = seqID; 00024 }
|
|
00022 { 00023 m_sequenceID = seqID; 00024 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|