OTest2
A C++ testing framework
Public Types | Public Member Functions | List of all members
OTest2::ObjectRepeaterOnceNested< Parent_, Object_ > Class Template Reference

#include <objectrepeateronceimpl.h>

Inheritance diagram for OTest2::ObjectRepeaterOnceNested< Parent_, Object_ >:
Inheritance graph
[legend]
Collaboration diagram for OTest2::ObjectRepeaterOnceNested< Parent_, Object_ >:
Collaboration graph
[legend]

Public Types

typedef ObjectScenarioPtr(Parent_::* FactoryMethod) (const Context &, const std::string &)
 

Public Member Functions

 ObjectRepeaterOnceNested (FactoryMethod factory_method_, const std::string &section_path_)
 
virtual ~ObjectRepeaterOnceNested ()=default
 
 ObjectRepeaterOnceNested (const ObjectRepeaterOnceNested &)=delete
 
ObjectRepeaterOnceNestedoperator= (const ObjectRepeaterOnceNested &)=delete
 
- Public Member Functions inherited from OTest2::ObjectRepeaterOnce
 ObjectRepeaterOnce ()
 Ctor. More...
 
virtual ~ObjectRepeaterOnce ()
 Dtor. More...
 
 ObjectRepeaterOnce (const ObjectRepeaterOnce &)=delete
 
ObjectRepeaterOnceoperator= (const ObjectRepeaterOnce &)=delete
 
virtual bool hasNextRun (const Context &context_) const override
 Check whether next run of the object is planned. More...
 
virtual void modifyObjectPath (const Context &context_, ObjectPath &path_) const override
 Change current object path. More...
 
virtual ObjectScenarioPtr createObject (const Context &context_, const std::string &decorated_name_, ObjectPtr parent_) override
 Create the testing object. More...
 
- Public Member Functions inherited from OTest2::ObjectRepeater
 ObjectRepeater ()
 Ctor. More...
 
virtual ~ObjectRepeater ()
 Dtor. More...
 
 ObjectRepeater (const ObjectRepeater &)=delete
 
ObjectRepeateroperator= (const ObjectRepeater &)=delete
 

Detailed Description

template<typename Parent_, typename Object_>
class OTest2::ObjectRepeaterOnceNested< Parent_, Object_ >

Definition at line 79 of file objectrepeateronceimpl.h.

Member Typedef Documentation

◆ FactoryMethod

template<typename Parent_ , typename Object_ >
typedef ObjectScenarioPtr(Parent_::* OTest2::ObjectRepeaterOnceNested< Parent_, Object_ >::FactoryMethod) (const Context &, const std::string &)

Definition at line 81 of file objectrepeateronceimpl.h.

Constructor & Destructor Documentation

◆ ObjectRepeaterOnceNested() [1/2]

template<typename Parent_ , typename Object_ >
OTest2::ObjectRepeaterOnceNested< Parent_, Object_ >::ObjectRepeaterOnceNested ( FactoryMethod  factory_method_,
const std::string &  section_path_ 
)
inlineexplicit

Definition at line 97 of file objectrepeateronceimpl.h.

◆ ~ObjectRepeaterOnceNested()

template<typename Parent_ , typename Object_ >
virtual OTest2::ObjectRepeaterOnceNested< Parent_, Object_ >::~ObjectRepeaterOnceNested ( )
virtualdefault

◆ ObjectRepeaterOnceNested() [2/2]

template<typename Parent_ , typename Object_ >
OTest2::ObjectRepeaterOnceNested< Parent_, Object_ >::ObjectRepeaterOnceNested ( const ObjectRepeaterOnceNested< Parent_, Object_ > &  )
delete

Member Function Documentation

◆ operator=()

template<typename Parent_ , typename Object_ >
ObjectRepeaterOnceNested& OTest2::ObjectRepeaterOnceNested< Parent_, Object_ >::operator= ( const ObjectRepeaterOnceNested< Parent_, Object_ > &  )
delete

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