CMS 3D CMS Logo

generic_actor Struct Reference

List of all members.

Public Member Functions

 generic_actor (std::vector< boost::any > &vec)
void operator() (double val) const
void operator() (int val) const
template<typename ActionIteratorT>
void operator() (ActionIteratorT const &first, ActionIteratorT const &last) const

Public Attributes

std::vector< boost::any > & vec_


Detailed Description

Definition at line 8 of file CSVDataLineParser.cc.


Constructor & Destructor Documentation

generic_actor::generic_actor ( std::vector< boost::any > &  vec  )  [inline]

Definition at line 10 of file CSVDataLineParser.cc.

00010 :vec_(vec){}


Member Function Documentation

void generic_actor::operator() ( double  val  )  const [inline]

Definition at line 19 of file CSVDataLineParser.cc.

References vec_.

00019                                     {
00020     vec_.push_back(val);
00021   }

void generic_actor::operator() ( int  val  )  const [inline]

Definition at line 16 of file CSVDataLineParser.cc.

References vec_.

00016                                  {
00017     vec_.push_back(val);
00018   }

template<typename ActionIteratorT>
void generic_actor::operator() ( ActionIteratorT const &  first,
ActionIteratorT const &  last 
) const [inline]

Definition at line 12 of file CSVDataLineParser.cc.

References vec_.

00013                                                      {
00014     vec_.push_back(std::string(first, last-first));
00015   }


Member Data Documentation

std::vector<boost::any>& generic_actor::vec_

Definition at line 9 of file CSVDataLineParser.cc.

Referenced by operator()().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:21:11 2009 for CMSSW by  doxygen 1.5.4