Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VW::polymorphic_ex Class Reference

#include <polymorphic_ex.h>

Public Member Functions

template<class ExampleT , typename std::enable_if< VW::is_example_type< ExampleT >::value, bool >::type = true>
 polymorphic_ex (ExampleT *ex)
 
template<class ExampleT , typename std::enable_if< VW::is_example_type< ExampleT >::value, bool >::type = true>
 polymorphic_ex (ExampleT &ex)
 
template<class ExampleT , typename std::enable_if< VW::is_nonqualified_example_type< ExampleT >::value, bool >::type = true>
 operator const ExampleT * () const
 
template<class ExampleT , typename std::enable_if< VW::is_nonqualified_example_type< ExampleT >::value, bool >::type = true>
 operator const ExampleT & () const
 
template<class ExampleT , typename std::enable_if< VW::is_nonqualified_example_type< ExampleT >::value, bool >::type = true>
 operator ExampleT * ()
 
template<class ExampleT , typename std::enable_if< VW::is_nonqualified_example_type< ExampleT >::value, bool >::type = true>
 operator ExampleT & ()
 
bool is_multiline () const
 

Constructor & Destructor Documentation

◆ polymorphic_ex() [1/2]

template<class ExampleT , typename std::enable_if< VW::is_example_type< ExampleT >::value, bool >::type = true>
VW::polymorphic_ex::polymorphic_ex ( ExampleT *  ex)
inline

◆ polymorphic_ex() [2/2]

template<class ExampleT , typename std::enable_if< VW::is_example_type< ExampleT >::value, bool >::type = true>
VW::polymorphic_ex::polymorphic_ex ( ExampleT &  ex)
inline

Member Function Documentation

◆ is_multiline()

bool VW::polymorphic_ex::is_multiline ( ) const
inline

◆ operator const ExampleT &()

template<class ExampleT , typename std::enable_if< VW::is_nonqualified_example_type< ExampleT >::value, bool >::type = true>
VW::polymorphic_ex::operator const ExampleT & ( ) const
inline

◆ operator const ExampleT *()

template<class ExampleT , typename std::enable_if< VW::is_nonqualified_example_type< ExampleT >::value, bool >::type = true>
VW::polymorphic_ex::operator const ExampleT * ( ) const
inline

◆ operator ExampleT &()

template<class ExampleT , typename std::enable_if< VW::is_nonqualified_example_type< ExampleT >::value, bool >::type = true>
VW::polymorphic_ex::operator ExampleT & ( )
inline

◆ operator ExampleT *()

template<class ExampleT , typename std::enable_if< VW::is_nonqualified_example_type< ExampleT >::value, bool >::type = true>
VW::polymorphic_ex::operator ExampleT * ( )
inline

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