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

A service provider class derived from B. More...

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

Public Member Functions

 ProviderB1 ()
 
virtual operator std::string () const override
 
- Public Member Functions inherited from svc::ProviderB
 ProviderB ()
 
 operator std::string () const
 
 ProviderB ()
 
virtual ~ProviderB () noexcept=default
 
 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
 
- Public Attributes inherited from svc::ProviderB
unsigned int count
 

Static Public Attributes

static unsigned int max_count = 0
 
- Static Public Attributes inherited from svc::ProviderB
static unsigned int max_count = 0
 

Detailed Description

A service provider class derived from B.

Definition at line 69 of file ProviderPack_test.cc.

Constructor & Destructor Documentation

svc::ProviderB1::ProviderB1 ( )
inline

Definition at line 71 of file ProviderPack_test.cc.

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

Member Function Documentation

virtual svc::ProviderB1::operator std::string ( ) const
inlineoverridevirtual

Reimplemented from svc::ProviderB.

Definition at line 73 of file ProviderPack_test.cc.

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

Member Data Documentation

unsigned int svc::ProviderB1::count

Definition at line 76 of file ProviderPack_test.cc.

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

Definition at line 78 of file ProviderPack_test.cc.


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