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

A service provider class. More...

Inheritance diagram for svc::ProviderB:
lar::UncopiableAndUnmovableClass lar::UncopiableClass lar::UnmovableClass svc::ProviderB1

Public Member Functions

 ProviderB ()
 
 operator std::string () const
 
 ProviderB ()
 
virtual ~ProviderB () noexcept=default
 
virtual operator std::string () const
 
 ProviderB ()
 
 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 54 of file ProviderPack_test.cc.

Constructor & Destructor Documentation

svc::ProviderB::ProviderB ( )
inline

Definition at line 56 of file ProviderPack_test.cc.

56 : count(max_count++) {}
static unsigned int max_count
unsigned int count
svc::ProviderB::ProviderB ( )
inline

Definition at line 56 of file ProviderPack_test.cc.

56 : count(max_count++) {}
static unsigned int max_count
unsigned int count
virtual svc::ProviderB::~ProviderB ( )
virtualdefaultnoexcept
svc::ProviderB::ProviderB ( )
inline

Definition at line 55 of file ProviderPack_test.cc.

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

Member Function Documentation

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

Definition at line 57 of file ProviderPack_test.cc.

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

Definition at line 58 of file ProviderPack_test.cc.

59  { return "ProviderB[" + std::to_string(count) + "]"; }
unsigned int count
std::string to_string(ModuleType const mt)
Definition: ModuleType.h:34
virtual svc::ProviderB::operator std::string ( ) const
inlinevirtual

Reimplemented in svc::ProviderB1.

Definition at line 59 of file ProviderPack_test.cc.

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

Member Data Documentation

unsigned int svc::ProviderB::count

Definition at line 61 of file ProviderPack_test.cc.

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

Definition at line 63 of file ProviderPack_test.cc.


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