ATLAS Offline Software
Loading...
Searching...
No Matches
TFileString Class Reference

#include <TFileString.h>

Inheritance diagram for TFileString:
Collaboration diagram for TFileString:

Public Member Functions

 TFileString (const std::string &name="")
 TFileString (const std::string &name, const std::string &tag)
std::vector< std::string > & tags ()
const std::vector< std::string > & tags () const
std::string name () const
std::string & operator[] (int i)
std::string operator[] (int i) const
size_t size () const
void push_back (const std::string &s)

Private Attributes

std::vector< std::string > mstring

Detailed Description

Definition at line 28 of file TFileString.h.

Constructor & Destructor Documentation

◆ TFileString() [1/2]

TFileString::TFileString ( const std::string & name = "")
inline

Definition at line 32 of file TFileString.h.

32: TObjString(name.c_str()) { }
std::string name() const
Definition TFileString.h:42

◆ TFileString() [2/2]

TFileString::TFileString ( const std::string & name,
const std::string & tag )
inline

Definition at line 34 of file TFileString.h.

34 :
35 TObjString(name.c_str())
36 { mstring.push_back(tag.c_str()); }
std::vector< std::string > mstring
Definition TFileString.h:56

Member Function Documentation

◆ name()

std::string TFileString::name ( ) const
inline

Definition at line 42 of file TFileString.h.

42{ return GetName(); }

◆ operator[]() [1/2]

std::string & TFileString::operator[] ( int i)
inline

Definition at line 45 of file TFileString.h.

45{ return mstring[i]; }

◆ operator[]() [2/2]

std::string TFileString::operator[] ( int i) const
inline

Definition at line 46 of file TFileString.h.

46{ return mstring[i]; }

◆ push_back()

void TFileString::push_back ( const std::string & s)
inline

Definition at line 52 of file TFileString.h.

52{ mstring.push_back(s); }

◆ size()

size_t TFileString::size ( ) const
inline

Definition at line 49 of file TFileString.h.

49{ return mstring.size(); }

◆ tags() [1/2]

std::vector< std::string > & TFileString::tags ( )
inline

Definition at line 38 of file TFileString.h.

38{ return mstring; }

◆ tags() [2/2]

const std::vector< std::string > & TFileString::tags ( ) const
inline

Definition at line 39 of file TFileString.h.

39{ return mstring; }

Member Data Documentation

◆ mstring

std::vector<std::string> TFileString::mstring
private

Definition at line 56 of file TFileString.h.


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