Public Member Functions | Public Attributes | Static Public Attributes | List of all members
svc::ProviderD Struct Reference

A service provider class. More...

Inheritance diagram for svc::ProviderD:
lar::UncopiableAndUnmovableClass lar::UncopiableClass lar::UnmovableClass

Public Member Functions

 ProviderD ()
 
 operator std::string () const
 
 ProviderD ()
 
 operator std::string () const
 
 ProviderD ()
 
 operator std::string () const
 
- Public Member Functions inherited from lar::UncopiableClass
 UncopiableClass ()=default
 Default constructor. More...
 
 ~UncopiableClass ()=default
 Default destructor. More...
 
 UncopiableClass (UncopiableClass const &)=delete
 Deleted copy and move constructors and assignments. More...
 
 UncopiableClass (UncopiableClass &&)=default
 
UncopiableClassoperator= (UncopiableClass const &)=delete
 
UncopiableClassoperator= (UncopiableClass &&)=default
 
- Public Member Functions inherited from lar::UnmovableClass
 UnmovableClass ()=default
 Default constructor. More...
 
 ~UnmovableClass ()=default
 Default destructor. More...
 
 UnmovableClass (UnmovableClass const &)=default
 Default copy constructor and assignment. More...
 
UnmovableClassoperator= (UnmovableClass const &)=default
 
 UnmovableClass (UnmovableClass &&)=delete
 Deleted move constructor and assignment. More...
 
UnmovableClassoperator= (UnmovableClass &&)=delete
 

Public Attributes

unsigned int count
 

Static Public Attributes

static unsigned int max_count = 0
 

Detailed Description

A service provider class.

Definition at line 82 of file ProviderPack_test.cc.

Constructor & Destructor Documentation

svc::ProviderD::ProviderD ( )
inline

Definition at line 84 of file ProviderPack_test.cc.

84 : count(max_count++) {}
static unsigned int max_count
unsigned int count
svc::ProviderD::ProviderD ( )
inline

Definition at line 99 of file ProviderPack_test.cc.

99 : count(max_count++) {}
static unsigned int max_count
unsigned int count
svc::ProviderD::ProviderD ( )
inline

Definition at line 83 of file ProviderPack_test.cc.

83 : count(max_count++) {}
static unsigned int max_count
unsigned int count

Member Function Documentation

svc::ProviderD::operator std::string ( ) const
inline

Definition at line 85 of file ProviderPack_test.cc.

86  { return "ProviderD[" + std::to_string(count) + "]"; }
std::string to_string(ModuleType const mt)
Definition: ModuleType.h:34
unsigned int count
svc::ProviderD::operator std::string ( ) const
inline

Definition at line 86 of file ProviderPack_test.cc.

87  { return "ProviderD[" + std::to_string(count) + "]"; }
std::string to_string(ModuleType const mt)
Definition: ModuleType.h:34
unsigned int count
svc::ProviderD::operator std::string ( ) const
inline

Definition at line 101 of file ProviderPack_test.cc.

102  { return "ProviderD[" + std::to_string(count) + "]"; }
std::string to_string(ModuleType const mt)
Definition: ModuleType.h:34
unsigned int count

Member Data Documentation

unsigned int svc::ProviderD::count

Definition at line 89 of file ProviderPack_test.cc.

unsigned int svc::ProviderD::max_count = 0
static

Definition at line 91 of file ProviderPack_test.cc.


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