Public Member Functions | Private Attributes | List of all members
ExampleVirt Class Referenceabstract
Inheritance diagram for ExampleVirt:
Inheritance graph
[legend]

Public Member Functions

 ExampleVirt (int state)
 
 ExampleVirt (const ExampleVirt &e)
 
 ExampleVirt (ExampleVirt &&e)
 
virtual const std::string & get_string1 ()
 
virtual const std::string * get_string2 ()
 
virtual void pure_virtual ()=0
 
virtual int run (int value)
 
virtual bool run_bool ()=0
 
virtual ~ExampleVirt ()
 

Private Attributes

int state
 
const std::string str1 {"default1"}
 
const std::string str2 {"default2"}
 

Detailed Description

Definition at line 16 of file test_virtual_functions.cpp.

Constructor & Destructor Documentation

ExampleVirt::ExampleVirt ( int  state)
inline

Definition at line 18 of file test_virtual_functions.cpp.

ExampleVirt::ExampleVirt ( const ExampleVirt e)
inline

Definition at line 19 of file test_virtual_functions.cpp.

ExampleVirt::ExampleVirt ( ExampleVirt &&  e)
inline

Definition at line 20 of file test_virtual_functions.cpp.

virtual ExampleVirt::~ExampleVirt ( )
inlinevirtual

Definition at line 21 of file test_virtual_functions.cpp.

Member Function Documentation

virtual const std::string& ExampleVirt::get_string1 ( )
inlinevirtual

Reimplemented in PyExampleVirt.

Definition at line 35 of file test_virtual_functions.cpp.

virtual const std::string* ExampleVirt::get_string2 ( )
inlinevirtual

Reimplemented in PyExampleVirt.

Definition at line 36 of file test_virtual_functions.cpp.

virtual void ExampleVirt::pure_virtual ( )
pure virtual

Implemented in PyExampleVirt.

virtual int ExampleVirt::run ( int  value)
inlinevirtual

Reimplemented in PyExampleVirt.

Definition at line 23 of file test_virtual_functions.cpp.

virtual bool ExampleVirt::run_bool ( )
pure virtual

Implemented in PyExampleVirt.

Member Data Documentation

int ExampleVirt::state
private

Definition at line 39 of file test_virtual_functions.cpp.

const std::string ExampleVirt::str1 {"default1"}
private

Definition at line 40 of file test_virtual_functions.cpp.

const std::string ExampleVirt::str2 {"default2"}
private

Definition at line 40 of file test_virtual_functions.cpp.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:47