Rosetta 3.3
Public Member Functions | Public Attributes | Static Public Attributes
tools::CppParser::CppFunction Class Reference
Collaboration diagram for tools::CppParser::CppFunction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__
def isDefalutArgWrappable
def writeFunctionDeclarationTypes
def getSimpleArgsType
def getArgTypes
def isWrapable
def getReturnValuePolicyString
def isCallbackStructNeeded
def writeCallbackCode
def wrap_prefix_code
def wrap
def getFileList
def __repr__

Public Attributes

 name
 context
 demangled
 returnType
 memberFunction
 const
 const_overloaded
 constructor
 reference
 operator
 static
 virtual
 pure_virtual
 public
 protected
 private
 artificial
 file_
 line
 argsTypes

Static Public Attributes

dictionary OperatorToCppNameMap = {'=':'assign', '()':'__call__', '[]':'__getitem__'}

Constructor & Destructor Documentation

def tools::CppParser::CppFunction::__init__ (   self,
  node,
  context,
  returnType,
  refSection,
  memberFunction = False,
  const = False,
  constructor = False,
  const_overloaded = False 
)

Member Function Documentation

def tools::CppParser::CppFunction::__repr__ (   self)
def tools::CppParser::CppFunction::__str__ (   self)
Generate string representing function name and types (but no context information for function itself), like this: int foo(char a, bool b)
def tools::CppParser::CppFunction::getArgTypes (   self)
def tools::CppParser::CppFunction::getFileList (   self)
if self in exclude:
    return []

exclude.append(self)
def tools::CppParser::CppFunction::getReturnValuePolicyString (   self)
def tools::CppParser::CppFunction::getSimpleArgsType (   self,
  constructor = False,
  withArgs = True,
  simplify = False 
)
def tools::CppParser::CppFunction::isCallbackStructNeeded (   self)
def tools::CppParser::CppFunction::isDefalutArgWrappable (   self,
  x 
)
check if default arg can be wrapped and return string for it, return epmty string castable to False otherwise
def tools::CppParser::CppFunction::isWrapable (   self)
Check if we can really wrap this object now, not theoretical but practically...
def tools::CppParser::CppFunction::wrap (   self,
  indent = '',
  wrappingScope = 'boost::python::',
  useCallbackStruct = '' 
)
def tools::CppParser::CppFunction::wrap_prefix_code (   self,
  indent = '' 
)
def tools::CppParser::CppFunction::writeCallbackCode (   self,
  class_,
  callback,
  indent = '' 
)
def tools::CppParser::CppFunction::writeFunctionDeclarationTypes (   self,
  withArgs = True,
  withDefaultArgs = False 
)

Member Data Documentation

dictionary tools::CppParser::CppFunction::OperatorToCppNameMap = {'=':'assign', '()':'__call__', '[]':'__getitem__'} [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines