v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Foo Class Reference
Inheritance diagram for Foo:
Inheritance graph
[legend]
Collaboration diagram for Foo:
Collaboration graph
[legend]

Public Types

using Using = int
 
using Using2 = Using
 

Public Member Functions

V8TOOLKIT_BIDIRECTIONAL_CONSTRUCTOR Foo (int, char, short &&)
 
std::vector< int > returns_vector_of_ints ()
 
std::map< string, int > returns_map_of_string_to_int ()
 
template<class T2 >
const T2 & templated_function (const T2 &t)
 
V8TOOLKIT_SKIP Foo (int, char *)
 
 V8TOOLKIT_USE_NAME (FooInt) Foo(int)
 
V8TOOLKIT_SKIP void foo_explicitly_skipped ()
 
virtual void fooparent_purevirtual_tobeoverridden ()
 
virtual char const_virtual (int) const
 
void broken_comment (int)
 
int foo_int_method (char *a, char b= 'a')
 
virtual void fooparent_virtual_tobeoverridden ()
 
const Using2using_return_type_test ()
 
std::string take_and_return_string (string)
 
const std::string take_and_return_const_string (const string)
 
volatile const std::string & take_and_return_const_volatile_string (const volatile string *&)
 
const volatile map< const volatile int *&, const volatile Using2 *& > *& map_test (const volatile std::map< const volatile Using2 *&, const volatile std::set< const volatile int *& > *& > *&)
 
void nested_foo_struct_test (const NestedFooStruct *&)
 
void call_helper_callback (HelperClass::Callback)
 
HelperClassdo_foo_things (Foo &foo, HelperClass **&, volatile FooParent *&)
 
virtual void templated_input_parameter_test (std::pair< OnlyUsedInTemplate, OnlyUsedInTemplate >)
 
TemplatedClass< HelperClass, 5 > test_method_with_templated_types (const TemplatedClass< const Using2 *&, 8828 > ****&)
 
void same_name (int)
 
void same_name (char *)
 
virtual void foo_parent_virtual (int, int, int) override
 
virtual void foo_parent_pure_virtual (char, char, char, char) override
 
 operator int ()
 
virtual void foo_grandparent_but_not_foo_virtual () override
 

Static Public Member Functions

static int foo_static_method (const int *)
 
static V8TOOLKIT_EXTEND_WRAPPER void wrapper_extension (v8toolkit::V8ClassWrapper< Foo > &)
 
static V8TOOLKIT_CUSTOM_EXTENSION void custom_extension (v8::Local< v8::FunctionTemplate > &function_template)
 

Public Attributes

UnwrappedClassThatIsUsed uctiu
 
Test::MyTemplate< vector< int > > my_template_int
 
Test::MyTemplate< vector< char > > my_template_char
 
DerivedFromWrappedClassBase< short > derived_my_template_short
 
DerivedFromWrappedClassBase< char * > derived_my_template_charp
 
const asdf const_typedef_to_int = 1
 
float b
 
V8TOOLKIT_SKIP float c
 
std::unique_ptr< OnlyUsedInTemplateunique_ptr_type_test
 

Detailed Description

Definition at line 137 of file sample.cpp.

Member Typedef Documentation

using Foo::Using = int

Definition at line 149 of file sample.cpp.

using Foo::Using2 = Using

Definition at line 150 of file sample.cpp.

Constructor & Destructor Documentation

V8TOOLKIT_BIDIRECTIONAL_CONSTRUCTOR Foo::Foo ( int  ,
char  ,
short &&   
)
V8TOOLKIT_SKIP Foo::Foo ( int  ,
char *   
)

Member Function Documentation

std::vector<int> Foo::returns_vector_of_ints ( )
std::map<string, int> Foo::returns_map_of_string_to_int ( )
template<class T2 >
const T2& Foo::templated_function ( const T2 &  t)
inline

Definition at line 169 of file sample.cpp.

References V8TOOLKIT_SKIP, and A::V8TOOLKIT_USE_NAME().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

Foo::V8TOOLKIT_USE_NAME ( FooInt  )
V8TOOLKIT_SKIP void Foo::foo_explicitly_skipped ( )
virtual void Foo::fooparent_purevirtual_tobeoverridden ( )
virtual
virtual char Foo::const_virtual ( int  ) const
virtual
void Foo::broken_comment ( int  )

description

Parameters
asomething – missing a named parameter shouldn't cause the plugin to crash
int Foo::foo_int_method ( char *  a,
char  b = 'a' 
)
inline

Test comment for foo_int_method

Parameters
asome string
bsome character
Returns
some made up number

Definition at line 192 of file sample.cpp.

virtual void Foo::fooparent_virtual_tobeoverridden ( )
virtual
static int Foo::foo_static_method ( const int *  )
inlinestatic

Definition at line 194 of file sample.cpp.

const Using2& Foo::using_return_type_test ( )
std::string Foo::take_and_return_string ( string  )
const std::string Foo::take_and_return_const_string ( const string  )
volatile const std::string& Foo::take_and_return_const_volatile_string ( const volatile string *&  )
const volatile map<const volatile int*&,const volatile Using2*&>*& Foo::map_test ( const volatile std::map< const volatile Using2 *&, const volatile std::set< const volatile int *& > *& > *&  )
void Foo::nested_foo_struct_test ( const NestedFooStruct *&  )
void Foo::call_helper_callback ( HelperClass::Callback  )
HelperClass& Foo::do_foo_things ( Foo foo,
HelperClass **&  ,
volatile FooParent *&   
)
virtual void Foo::templated_input_parameter_test ( std::pair< OnlyUsedInTemplate, OnlyUsedInTemplate )
virtual
TemplatedClass<HelperClass, 5> Foo::test_method_with_templated_types ( const TemplatedClass< const Using2 *&, 8828 > ****&  )
static V8TOOLKIT_EXTEND_WRAPPER void Foo::wrapper_extension ( v8toolkit::V8ClassWrapper< Foo > &  )
static
static V8TOOLKIT_CUSTOM_EXTENSION void Foo::custom_extension ( v8::Local< v8::FunctionTemplate > &  function_template)
static
void Foo::same_name ( int  )
void Foo::same_name ( char *  )
virtual void Foo::foo_parent_virtual ( int  ,
int  ,
int   
)
overridevirtual

Reimplemented from FooParent.

virtual void Foo::foo_parent_pure_virtual ( char  ,
char  ,
char  ,
char   
)
overridevirtual

Implements FooParent.

Foo::operator int ( )
virtual void FooParent::foo_grandparent_but_not_foo_virtual ( )
overridevirtualinherited

Reimplemented from FooGrandParent.

Member Data Documentation

Definition at line 153 of file sample.cpp.

Test::MyTemplate<vector<int> > Foo::my_template_int

Definition at line 155 of file sample.cpp.

Test::MyTemplate<vector<char> > Foo::my_template_char

Definition at line 156 of file sample.cpp.

DerivedFromWrappedClassBase<short> Foo::derived_my_template_short

Definition at line 158 of file sample.cpp.

DerivedFromWrappedClassBase<char*> Foo::derived_my_template_charp

Definition at line 159 of file sample.cpp.

const asdf Foo::const_typedef_to_int = 1

Definition at line 165 of file sample.cpp.

float Foo::b

Definition at line 207 of file sample.cpp.

V8TOOLKIT_SKIP float Foo::c

Definition at line 208 of file sample.cpp.

std::unique_ptr<OnlyUsedInTemplate> Foo::unique_ptr_type_test

Definition at line 209 of file sample.cpp.


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