CMS 3D CMS Logo

IgAssociationSet Class Reference

#include <Iguana/Framework/interface/IgCollection.h>

List of all members.

Public Types

typedef std::vector
< IgAssociation
Associations
typedef Associations::iterator Iterator

Public Member Functions

void associate (const IgRef &a, const IgRef &b)
Iterator begin (void)
void clear (void)
void compress (void)
Iterator end (void)
 IgAssociationSet (const char *name)
const char * name (void)
IgAssociationoperator[] (unsigned int pos)
void reserve (unsigned int capacity)
void resize (unsigned int newSize)
int size (void)

Private Attributes

Associations m_associations
std::string m_name


Detailed Description

Definition at line 931 of file IgCollection.h.


Member Typedef Documentation

typedef std::vector<IgAssociation> IgAssociationSet::Associations

Definition at line 934 of file IgCollection.h.

typedef Associations::iterator IgAssociationSet::Iterator

Definition at line 935 of file IgCollection.h.


Constructor & Destructor Documentation

IgAssociationSet::IgAssociationSet ( const char *  name  )  [inline]

Definition at line 937 of file IgCollection.h.

00938   :m_name(name)
00939   { }


Member Function Documentation

void IgAssociationSet::associate ( const IgRef a,
const IgRef b 
) [inline]

Definition at line 941 of file IgCollection.h.

References m_associations.

Referenced by VisMuon::analyze(), VisPFRecTrack::analyze(), VisPFRecHit::analyze(), VisBasicCluster::analyze(), VisTrack::analyze(), VisPFCluster::analyze(), and VisMuon::refitTrack().

00942   { m_associations.push_back(IgAssociation(a, b)); }

Iterator IgAssociationSet::begin ( void   )  [inline]

Definition at line 947 of file IgCollection.h.

References m_associations.

Referenced by IgAssociatedSet::begin(), and operator<<().

00948   { return m_associations.begin(); }

void IgAssociationSet::clear ( void   )  [inline]

Definition at line 956 of file IgCollection.h.

References m_associations.

00957   { m_associations.clear(); }

void IgAssociationSet::compress ( void   )  [inline]

Definition at line 965 of file IgCollection.h.

References m_associations.

Referenced by IgParser::parseAssociationSet().

00966   { m_associations.reserve(m_associations.size());}

Iterator IgAssociationSet::end ( void   )  [inline]

Definition at line 950 of file IgCollection.h.

References m_associations.

Referenced by IgAssociatedSet::begin(), IgAssociatedSet::end(), and operator<<().

00951   { return m_associations.end(); }

const char* IgAssociationSet::name ( void   )  [inline]

Definition at line 944 of file IgCollection.h.

References m_name.

Referenced by operator<<().

00945   {return m_name.c_str(); }

IgAssociation& IgAssociationSet::operator[] ( unsigned int  pos  )  [inline]

Definition at line 968 of file IgCollection.h.

References m_associations.

00969   {
00970     return m_associations[pos];
00971   }

void IgAssociationSet::reserve ( unsigned int  capacity  )  [inline]

Definition at line 959 of file IgCollection.h.

References m_associations.

Referenced by IgParser::parseAssociationSet().

00960   { m_associations.reserve(capacity);}

void IgAssociationSet::resize ( unsigned int  newSize  )  [inline]

Definition at line 962 of file IgCollection.h.

References m_associations.

Referenced by IgParser::parseAssociationSet().

00963   { m_associations.resize(newSize);}

int IgAssociationSet::size ( void   )  [inline]

Definition at line 953 of file IgCollection.h.

References m_associations.

00954   { return m_associations.size(); }


Member Data Documentation

Associations IgAssociationSet::m_associations [private]

Definition at line 974 of file IgCollection.h.

Referenced by associate(), begin(), clear(), compress(), end(), operator[](), reserve(), resize(), and size().

std::string IgAssociationSet::m_name [private]

Definition at line 973 of file IgCollection.h.

Referenced by name().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:25:01 2009 for CMSSW by  doxygen 1.5.4