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

A service provider class. More...

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

Public Member Functions

 ProviderA ()
 
 operator std::string () const
 
 ProviderA ()
 
 operator std::string () const
 
 ProviderA ()
 
 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 40 of file ProviderPack_test.cc.

Constructor & Destructor Documentation

svc::ProviderA::ProviderA ( )
inline

Definition at line 42 of file ProviderPack_test.cc.

42 : count(max_count++) {}
static unsigned int max_count
unsigned int count
svc::ProviderA::ProviderA ( )
inline

Definition at line 42 of file ProviderPack_test.cc.

42 : count(max_count++) {}
static unsigned int max_count
unsigned int count
svc::ProviderA::ProviderA ( )
inline

Definition at line 41 of file ProviderPack_test.cc.

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

Member Function Documentation

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

Definition at line 43 of file ProviderPack_test.cc.

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

Definition at line 44 of file ProviderPack_test.cc.

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

Definition at line 44 of file ProviderPack_test.cc.

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

Member Data Documentation

unsigned int svc::ProviderA::count

Definition at line 47 of file ProviderPack_test.cc.

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

Definition at line 49 of file ProviderPack_test.cc.


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