v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Static Public Attributes | List of all members
Annotations Class Reference

#include <annotations.h>

Collaboration diagram for Annotations:
Collaboration graph
[legend]

Public Member Functions

 Annotations (const Decl *decl_to_check)
 
 Annotations (const CXXMethodDecl *decl_to_check)
 
 Annotations ()=default
 
const vector< string > get () const
 
std::vector< string > get_regex (const string &regex_string) const
 
bool has (const std::string &target) const
 
void merge (const Annotations &other)
 
 Annotations (const CXXRecordDecl *decl_to_check)
 

Static Public Attributes

static map< const ClassTemplateDecl *, Annotationsannotations_for_class_templates
 
static map< const CXXRecordDecl *, Annotationsannotations_for_record_decls
 
static map< const CXXRecordDecl *, string > names_for_record_decls
 

Detailed Description

Definition at line 11 of file annotations.h.

Constructor & Destructor Documentation

Annotations::Annotations ( const Decl *  decl_to_check)
inline

Definition at line 30 of file annotations.h.

Annotations::Annotations ( const CXXMethodDecl *  decl_to_check)
inline

Definition at line 35 of file annotations.h.

References Annotations().

Here is the call graph for this function:

Annotations::Annotations ( )
default

Referenced by Annotations().

Here is the caller graph for this function:

Annotations::Annotations ( const CXXRecordDecl *  decl_to_check)

Definition at line 15 of file annotations.cpp.

References annotations_for_class_templates, get_canonical_name_for_decl(), and merge().

Here is the call graph for this function:

Member Function Documentation

const vector<string> Annotations::get ( ) const
inline

Definition at line 42 of file annotations.h.

Referenced by merge(), WrappedClass::should_be_wrapped(), WrappedClass::update_data(), and WrappedClass::WrappedClass().

Here is the caller graph for this function:

std::vector<string> Annotations::get_regex ( const string &  regex_string) const
inline

Definition at line 51 of file annotations.h.

Referenced by ClassFunction::ClassFunction(), ClassHandler::run(), and WrappedClass::WrappedClass().

Here is the caller graph for this function:

bool Annotations::has ( const std::string &  target) const
inline
void Annotations::merge ( const Annotations other)
inline

Definition at line 71 of file annotations.h.

References get().

Referenced by Annotations(), and WrappedClass::WrappedClass().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

map< const ClassTemplateDecl *, Annotations > Annotations::annotations_for_class_templates
static

Definition at line 80 of file annotations.h.

Referenced by Annotations(), and ClassHandler::run().

map< const CXXRecordDecl *, Annotations > Annotations::annotations_for_record_decls
static

Definition at line 83 of file annotations.h.

Referenced by ClassHandler::run().

map< const CXXRecordDecl *, string > Annotations::names_for_record_decls
static

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