JANA2
C++ framework for multi-threaded data processing
Loading...
Searching...
No Matches
JPodioDatabundle Class Reference
Inheritance diagram for JPodioDatabundle:
[legend]
Collaboration diagram for JPodioDatabundle:
[legend]

Public Member Functions

size_t GetSize () const override
 
virtual void ClearData () override
 
const podio::CollectionBase * GetCollection () const
 
void SetCollection (const podio::CollectionBase *collection)
 
- Public Member Functions inherited from JDatabundle
 JDatabundle (const JDatabundle &other)
 
Status GetStatus () const
 
std::string GetUniqueName () const
 
std::string GetShortName () const
 
bool HasShortName () const
 
std::string GetTypeName () const
 
std::type_index GetTypeIndex () const
 
JCallGraphRecorder::JDataOrigin GetInsertOrigin () const
 If objects were placed here by JEvent::Insert() this records whether that call was made from a source or factory.
 
JFactoryGetFactory () const
 
void SetStatus (Status s)
 
void SetUniqueName (std::string unique_name)
 
void SetShortName (std::string short_name)
 
void SetTypeName (std::string type_name)
 
void SetTypeIndex (std::type_index index)
 
void SetInsertOrigin (JCallGraphRecorder::JDataOrigin origin)
 Called automatically by JEvent::Insert() to records whether that call was made by a source or factory.
 
void SetFactory (JFactory *fac)
 
template<typename S >
std::vector< S * > GetAs ()
 Generically access the encapsulated data, performing an upcast if necessary.
 

Additional Inherited Members

- Public Types inherited from JDatabundle
enum class  Status {
  Empty ,
  Created ,
  Inserted ,
  Excepted
}
 
- Protected Attributes inherited from JDatabundle
std::unordered_map< std::type_index, std::unique_ptr< JAny > > mUpcastVTable
 

Member Function Documentation

◆ ClearData()

virtual void JPodioDatabundle::ClearData ( )
inlineoverridevirtual

Implements JDatabundle.

◆ GetSize()

size_t JPodioDatabundle::GetSize ( ) const
inlineoverridevirtual

Implements JDatabundle.


The documentation for this class was generated from the following file: