CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes | Friends
PacketData Class Reference

#include <MP7PacketReader.h>

Public Types

typedef std::vector< Packet >::const_iterator const_iterator
 

Public Member Functions

const_iterator begin () const
 
const_iterator end () const
 
const std::string & name () const
 
size_t size () const
 

Private Attributes

std::string name_
 
std::vector< Packetpackets_
 

Friends

class MP7PacketReader
 

Detailed Description

Definition at line 25 of file MP7PacketReader.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 29 of file MP7PacketReader.h.

Member Function Documentation

◆ begin()

const_iterator PacketData::begin ( void  ) const
inline

Definition at line 31 of file MP7PacketReader.h.

References packets_.

31 { return packets_.begin(); }
std::vector< Packet > packets_

◆ end()

const_iterator PacketData::end ( void  ) const
inline

Definition at line 33 of file MP7PacketReader.h.

References packets_.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

33 { return packets_.end(); }
std::vector< Packet > packets_

◆ name()

const std::string& PacketData::name ( void  ) const
inline

Definition at line 27 of file MP7PacketReader.h.

References name_.

Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().

27 { return name_; }
std::string name_

◆ size()

size_t PacketData::size ( void  ) const
inline

Definition at line 35 of file MP7PacketReader.h.

References packets_.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

35 { return packets_.size(); }
std::vector< Packet > packets_

Friends And Related Function Documentation

◆ MP7PacketReader

friend class MP7PacketReader
friend

Definition at line 41 of file MP7PacketReader.h.

Member Data Documentation

◆ name_

std::string PacketData::name_
private

Definition at line 38 of file MP7PacketReader.h.

Referenced by name().

◆ packets_

std::vector<Packet> PacketData::packets_
private

Definition at line 39 of file MP7PacketReader.h.

Referenced by begin(), end(), and size().