Public Types

typedef std::vector< std::reference_wrapper< const TestCreatorBase > > TestInstanceCreators
 
typedef TestInstanceCreators::const_iterator const_iterator
 
typedef TestInstanceCreators::iterator iterator
 
typedef TestInstanceCreators::size_type size_type
 

Public Member Functions

const_iterator begin () const noexcept
 
const_iterator end () const noexcept
 
iterator begin () noexcept
 
iterator end () noexcept
 
size_type size () const noexcept
 

Static Public Member Functions

static TestStoragegetInstance () noexcept
 

Member Typedef Documentation

typedef TestInstanceCreators::const_iterator rili::test::TestStorage::const_iterator

is iterator type, you can use it to iterate over registered test creators

typedef TestInstanceCreators::iterator rili::test::TestStorage::iterator

is iterator type, you can use it to iterate over registered test creators

typedef TestInstanceCreators::size_type rili::test::TestStorage::size_type

type in which is stored number of registered tests

typedef std::vector<std::reference_wrapper<const TestCreatorBase> > rili::test::TestStorage::TestInstanceCreators

is test creators storage type

Member Function Documentation

const_iterator rili::test::TestStorage::begin ( ) const
noexcept

is used to get first iterator for registered test creators collection

Returns
begin iterator
iterator rili::test::TestStorage::begin ( )
noexcept

is used to get first iterator for registered test creators collection

Returns
begin iterator
const_iterator rili::test::TestStorage::end ( ) const
noexcept

is used to get one after last iterator for registered test creators collection

Returns
end iterator
iterator rili::test::TestStorage::end ( )
noexcept

is used to get one after last iterator for registered test creators collection

Returns
end iterator
static TestStorage& rili::test::TestStorage::getInstance ( )
staticnoexcept

get or create instance of TestStorage

Returns
instance of TestStorage
size_type rili::test::TestStorage::size ( ) const
noexcept

return number of registered test creators

Returns
number of registered test creators

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