AliPhysics  95775ff (95775ff)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliJSONSyntaxTreeNode Class Reference

#include <AliJSONReader.h>

Public Member Functions

 AliJSONSyntaxTreeNode (const char *name, AliJSONSyntaxTreeNode *mother)
 
 ~AliJSONSyntaxTreeNode ()
 
void AddEntry (AliJSONData *entry)
 
AliJSONSyntaxTreeNodeCreateDaughter (const char *name)
 
void SetOwner (bool owner=true)
 
AliJSONSyntaxTreeNodeGetMotherNode () const
 
std::vector
< AliJSONSyntaxTreeNode * > & 
GetDaughters ()
 
std::vector< AliJSONData * > & GetEntries ()
 
const char * GetName () const
 

Private Member Functions

 AliJSONSyntaxTreeNode (const AliJSONSyntaxTreeNode &ref)
 
AliJSONSyntaxTreeNodeoperator= (const AliJSONSyntaxTreeNode &ref)
 

Private Attributes

std::string fName
 
AliJSONSyntaxTreeNodefMotherNode
 
std::vector< AliJSONData * > fEntries
 
std::vector
< AliJSONSyntaxTreeNode * > 
fDaughters
 
bool fOwner
 

Detailed Description

Definition at line 17 of file AliJSONReader.h.

Constructor & Destructor Documentation

AliJSONSyntaxTreeNode::AliJSONSyntaxTreeNode ( const char *  name,
AliJSONSyntaxTreeNode mother 
)

Definition at line 14 of file AliJSONReader.cxx.

Referenced by CreateDaughter().

AliJSONSyntaxTreeNode::~AliJSONSyntaxTreeNode ( )

Definition at line 23 of file AliJSONReader.cxx.

AliJSONSyntaxTreeNode::AliJSONSyntaxTreeNode ( const AliJSONSyntaxTreeNode ref)
private

Member Function Documentation

void AliJSONSyntaxTreeNode::AddEntry ( AliJSONData entry)

Definition at line 34 of file AliJSONReader.cxx.

AliJSONSyntaxTreeNode * AliJSONSyntaxTreeNode::CreateDaughter ( const char *  name)

Definition at line 38 of file AliJSONReader.cxx.

std::vector<AliJSONSyntaxTreeNode *>& AliJSONSyntaxTreeNode::GetDaughters ( )
inline

Definition at line 26 of file AliJSONReader.h.

Referenced by AliJSONReader::AddNodeToList(), and AliJSONReader::Decode().

std::vector<AliJSONData *>& AliJSONSyntaxTreeNode::GetEntries ( )
inline

Definition at line 27 of file AliJSONReader.h.

Referenced by AliJSONReader::AddNodeToList(), and AliJSONReader::Decode().

AliJSONSyntaxTreeNode* AliJSONSyntaxTreeNode::GetMotherNode ( ) const
inline

Definition at line 25 of file AliJSONReader.h.

const char* AliJSONSyntaxTreeNode::GetName ( ) const
inline

Definition at line 28 of file AliJSONReader.h.

Referenced by AliJSONReader::AddNodeToList().

AliJSONSyntaxTreeNode* AliJSONSyntaxTreeNode::operator= ( const AliJSONSyntaxTreeNode ref)
private
void AliJSONSyntaxTreeNode::SetOwner ( bool  owner = true)

Definition at line 44 of file AliJSONReader.cxx.

Referenced by AliJSONReader::Decode().

Member Data Documentation

std::vector<AliJSONSyntaxTreeNode *> AliJSONSyntaxTreeNode::fDaughters
private

Definition at line 37 of file AliJSONReader.h.

Referenced by CreateDaughter(), GetDaughters(), SetOwner(), and ~AliJSONSyntaxTreeNode().

std::vector<AliJSONData *> AliJSONSyntaxTreeNode::fEntries
private

Definition at line 36 of file AliJSONReader.h.

Referenced by AddEntry(), GetEntries(), and ~AliJSONSyntaxTreeNode().

AliJSONSyntaxTreeNode* AliJSONSyntaxTreeNode::fMotherNode
private

Definition at line 35 of file AliJSONReader.h.

Referenced by GetMotherNode().

std::string AliJSONSyntaxTreeNode::fName
private

Definition at line 34 of file AliJSONReader.h.

Referenced by GetName().

bool AliJSONSyntaxTreeNode::fOwner
private

Definition at line 38 of file AliJSONReader.h.

Referenced by SetOwner(), and ~AliJSONSyntaxTreeNode().


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