CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
NameScheme Class Reference

#include <NameScheme.h>

Public Member Functions

TString name (const int)
 
TString name (const char *)
 
TString name (const char *, const int)
 
TString name (const char *, const int, const int)
 
TString name (ofstream &, const char *)
 
TString name (ofstream &, const char *, const int)
 
TString name (ofstream &, const char *, const int, const int)
 
 NameScheme ()
 
 NameScheme (const char *)
 
 NameScheme (const char *, const char *)
 
TString setLink (const char *)
 
 ~NameScheme ()
 

Private Attributes

const char * link_
 
const char * name_
 

Detailed Description

Definition at line 11 of file NameScheme.h.

Constructor & Destructor Documentation

NameScheme::NameScheme ( )
explicit

Definition at line 3 of file NameScheme.cc.

3  :
4  name_("Default"),
5  link_("_")
6 {
7 }
const char * name_
Definition: NameScheme.h:28
const char * link_
Definition: NameScheme.h:29
NameScheme::NameScheme ( const char *  name)
explicit

Definition at line 9 of file NameScheme.cc.

9  :
10  name_(name),
11  link_("_")
12 {
13 }
const char * name_
Definition: NameScheme.h:28
TString name(const int)
Definition: NameScheme.cc:27
const char * link_
Definition: NameScheme.h:29
NameScheme::NameScheme ( const char *  name,
const char *  link 
)
explicit

Definition at line 15 of file NameScheme.cc.

15  :
16  name_(name),
17  link_(link)
18 {
19 }
const char * name_
Definition: NameScheme.h:28
std::string link(std::string &nm, std::string &ns)
Definition: hierarchy.cc:47
TString name(const int)
Definition: NameScheme.cc:27
const char * link_
Definition: NameScheme.h:29
NameScheme::~NameScheme ( )

Definition at line 21 of file NameScheme.cc.

22 {
23 
24 }

Member Function Documentation

TString NameScheme::name ( const int  i)

Definition at line 27 of file NameScheme.cc.

References i, link_, and name_.

Referenced by BeautifulSoup.Tag::_invert(), Comparison< Ref, RefQualifier, Rec, RecQualifier, Alg >::book(), and name().

28 {
29  TString namestr( name_ );
30  namestr += link_;
31  namestr += i;
32  return namestr;
33 }
int i
Definition: DBlmapReader.cc:9
const char * name_
Definition: NameScheme.h:28
const char * link_
Definition: NameScheme.h:29
TString NameScheme::name ( const char *  name)

Definition at line 36 of file NameScheme.cc.

References link_, name(), and name_.

Referenced by BeautifulSoup.Tag::_invert().

37 {
38  TString namestr( name_ );
39  namestr += link_;
40  namestr += name;
41  return namestr;
42 }
const char * name_
Definition: NameScheme.h:28
TString name(const int)
Definition: NameScheme.cc:27
const char * link_
Definition: NameScheme.h:29
TString NameScheme::name ( const char *  name,
const int  i 
)

Definition at line 45 of file NameScheme.cc.

References i, link_, name(), and name_.

Referenced by BeautifulSoup.Tag::_invert().

46 {
47  TString namestr( name_ );
48  namestr += link_;
49  namestr += name;
50  namestr += "_";
51  namestr += i;
52  return namestr;
53 }
int i
Definition: DBlmapReader.cc:9
const char * name_
Definition: NameScheme.h:28
TString name(const int)
Definition: NameScheme.cc:27
const char * link_
Definition: NameScheme.h:29
TString NameScheme::name ( const char *  name,
const int  i,
const int  j 
)

Definition at line 56 of file NameScheme.cc.

References i, j, link_, name(), and name_.

Referenced by BeautifulSoup.Tag::_invert().

57 {
58  TString namestr( name_ );
59  namestr += link_;
60  namestr += name;
61  namestr += "_";
62  namestr += i;
63  namestr += "_";
64  namestr += j;
65  return namestr;
66 }
int i
Definition: DBlmapReader.cc:9
const char * name_
Definition: NameScheme.h:28
int j
Definition: DBlmapReader.cc:9
TString name(const int)
Definition: NameScheme.cc:27
const char * link_
Definition: NameScheme.h:29
TString NameScheme::name ( ofstream &  file,
const char *  name 
)

Definition at line 69 of file NameScheme.cc.

References link_, name(), and name_.

Referenced by BeautifulSoup.Tag::_invert().

70 {
71  TString namestr( name_ );
72  namestr += link_;
73  namestr += name;
74 
75  file << namestr << "\n";
76  return namestr;
77 }
const char * name_
Definition: NameScheme.h:28
list file
Definition: dbtoweb.py:253
TString name(const int)
Definition: NameScheme.cc:27
const char * link_
Definition: NameScheme.h:29
TString NameScheme::name ( ofstream &  file,
const char *  name,
const int  i 
)

Definition at line 80 of file NameScheme.cc.

References i, link_, name(), and name_.

Referenced by BeautifulSoup.Tag::_invert().

81 {
82  TString namestr( name_ );
83  namestr += link_;
84  namestr += name;
85  namestr += "_";
86  namestr += i;
87 
88  file << namestr << "\n";
89  return namestr;
90 }
int i
Definition: DBlmapReader.cc:9
const char * name_
Definition: NameScheme.h:28
list file
Definition: dbtoweb.py:253
TString name(const int)
Definition: NameScheme.cc:27
const char * link_
Definition: NameScheme.h:29
TString NameScheme::name ( ofstream &  file,
const char *  name,
const int  i,
const int  j 
)

Definition at line 93 of file NameScheme.cc.

References i, j, link_, name(), and name_.

Referenced by BeautifulSoup.Tag::_invert().

94 {
95  TString namestr( name_ );
96  namestr += link_;
97  namestr += name;
98  namestr += "_";
99  namestr += i;
100  namestr += "_";
101  namestr += j;
102 
103  file << namestr << "\n";
104  return namestr;
105 }
int i
Definition: DBlmapReader.cc:9
const char * name_
Definition: NameScheme.h:28
list file
Definition: dbtoweb.py:253
int j
Definition: DBlmapReader.cc:9
TString name(const int)
Definition: NameScheme.cc:27
const char * link_
Definition: NameScheme.h:29
TString NameScheme::setLink ( const char *  )

Member Data Documentation

const char* NameScheme::link_
private

Definition at line 29 of file NameScheme.h.

Referenced by name().

const char* NameScheme::name_
private

Definition at line 28 of file NameScheme.h.

Referenced by Config.Process::fillProcessDesc(), and name().