rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
beast::unit_test::case_results::log_t Class Reference
Inheritance diagram for beast::unit_test::case_results::log_t:
Inheritance graph
[legend]
Collaboration diagram for beast::unit_test::case_results::log_t:
Collaboration graph
[legend]

Public Types

using value_type = typename cont_type::value_type
 
using size_type = typename cont_type::size_type
 
using difference_type = typename cont_type::difference_type
 
using iterator = typename cont_type::const_iterator
 
using const_iterator = typename cont_type::const_iterator
 

Public Member Functions

void insert (std::string const &s)
 Insert a string into the log.
 
bool empty () const
 Returns true if the container is empty.
 
size_type size () const
 Returns the number of items in the container.
 
const_iterator begin () const
 Returns forward iterators for traversal.
 
const_iterator cbegin () const
 
const_iterator end () const
 
const_iterator cend () const
 

Protected Member Functions

cont_typecont ()
 
cont_type const & cont () const
 

Private Types

using cont_type = std::vector< std::string >
 

Private Attributes

cont_type m_cont
 

Detailed Description

Definition at line 77 of file results.h.

Member Typedef Documentation

◆ cont_type

Definition at line 20 of file const_container.h.

◆ value_type

using beast::unit_test::detail::const_container< std::vector< std::string > >::value_type = typename cont_type::value_type
inherited

Definition at line 38 of file const_container.h.

◆ size_type

using beast::unit_test::detail::const_container< std::vector< std::string > >::size_type = typename cont_type::size_type
inherited

Definition at line 39 of file const_container.h.

◆ difference_type

using beast::unit_test::detail::const_container< std::vector< std::string > >::difference_type = typename cont_type::difference_type
inherited

Definition at line 40 of file const_container.h.

◆ iterator

using beast::unit_test::detail::const_container< std::vector< std::string > >::iterator = typename cont_type::const_iterator
inherited

Definition at line 41 of file const_container.h.

◆ const_iterator

using beast::unit_test::detail::const_container< std::vector< std::string > >::const_iterator = typename cont_type::const_iterator
inherited

Definition at line 42 of file const_container.h.

Member Function Documentation

◆ insert()

void beast::unit_test::case_results::log_t::insert ( std::string const &  s)

Insert a string into the log.

Definition at line 82 of file results.h.

◆ cont() [1/2]

Definition at line 26 of file const_container.h.

◆ cont() [2/2]

cont_type const & beast::unit_test::detail::const_container< std::vector< std::string > >::cont ( ) const
protectedinherited

Definition at line 32 of file const_container.h.

◆ empty()

bool beast::unit_test::detail::const_container< std::vector< std::string > >::empty ( ) const
inherited

Returns true if the container is empty.

Definition at line 46 of file const_container.h.

◆ size()

Returns the number of items in the container.

Definition at line 53 of file const_container.h.

◆ begin()

Returns forward iterators for traversal.

Definition at line 61 of file const_container.h.

◆ cbegin()

Definition at line 67 of file const_container.h.

◆ end()

Definition at line 73 of file const_container.h.

◆ cend()

Definition at line 79 of file const_container.h.

Member Data Documentation

◆ m_cont

Definition at line 22 of file const_container.h.