CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes

BlobComplexContent Struct Reference

#include <BlobComplex.h>

List of all members.

Public Types

typedef std::pair
< BlobComplexData, unsigned
int > 
Data

Public Member Functions

 BlobComplexContent ()
void fill (unsigned int &serial)
bool operator!= (const BlobComplexContent &rhs) const
bool operator== (const BlobComplexContent &rhs) const
void print () const

Public Attributes

Data data1
Data data2
Data data3

Detailed Description

Definition at line 20 of file BlobComplex.h.


Member Typedef Documentation

typedef std::pair<BlobComplexData, unsigned int> BlobComplexContent::Data

Definition at line 29 of file BlobComplex.h.


Constructor & Destructor Documentation

BlobComplexContent::BlobComplexContent ( ) [inline]

Definition at line 21 of file BlobComplex.h.

{}

Member Function Documentation

void BlobComplexContent::fill ( unsigned int &  serial)

Definition at line 35 of file BlobComplex.cc.

References data1, data2, and data3.

{
  data1.first.fill(serial);
  data1.second = ++serial;
  data2.first.fill(serial);
  data2.second = ++serial;
  data3.first.fill(serial);
  data3.second = ++serial;
}
bool BlobComplexContent::operator!= ( const BlobComplexContent rhs) const [inline]

Definition at line 26 of file BlobComplex.h.

  { return !(*this == rhs); }
bool BlobComplexContent::operator== ( const BlobComplexContent rhs) const

Definition at line 62 of file BlobComplex.cc.

References data1, data2, and data3.

{
  if (data1.first != rhs.data1.first ||
      data1.second != rhs.data1.second) return false;
  if (data2.first != rhs.data2.first ||
      data2.second != rhs.data2.second) return false;
  if (data3.first != rhs.data3.first ||
      data3.second != rhs.data3.second) return false;
  return true;
}
void BlobComplexContent::print ( void  ) const

Definition at line 52 of file BlobComplex.cc.

References gather_cfg::cout, data1, data2, data3, and printBlobComplexContentData().

{
  std::cout << "    data1 = " << std::endl;
  printBlobComplexContentData(data1);
  std::cout << "    data2 = " << std::endl;
  printBlobComplexContentData(data2);
  std::cout << "    data3 = " << std::endl;
  printBlobComplexContentData(data3);
}

Member Data Documentation

Definition at line 31 of file BlobComplex.h.

Referenced by fill(), operator==(), and print().

Definition at line 32 of file BlobComplex.h.

Referenced by fill(), operator==(), and print().

Definition at line 33 of file BlobComplex.h.

Referenced by fill(), operator==(), and print().