Public Member Functions | Public Attributes | Private Attributes
doil.dictbuilder.BuildDictionaryFromAST Class Reference

List of all members.

Public Member Functions

def __init__
def createArg
def createArgs
def createAttribute
def createDecl
def createEnumIdent
def createExceptionIdent
def createHeaderInfo
def createIdent
def createInterfaceFileInfo
def createInterfaceIdent
def createMember
def createMembers
def createOperation
def createReturn
def createStructIdent
def createTypedef
def createUnionCase
def createUnionCases
def createUnionIdent
def get_dict
def getType
def visitAST
def visitDeclarator
def visitEnum
def visitException
def visitForward
def visitInterface
def visitModule
def visitStruct
def visitStructForward
def visitTypedef
def visitUnion
def visitUnionForward

Public Attributes

 config
 corba_primitive
 dict
 module
 tk_map
 typemap

Private Attributes

 __allInterfaces

Detailed Description

Definition at line 59 of file dictbuilder.py.


Constructor & Destructor Documentation

def doil.dictbuilder.BuildDictionaryFromAST.__init__ (   self,
  tree,
  config 
)

Definition at line 63 of file dictbuilder.py.


Member Function Documentation

def doil.dictbuilder.BuildDictionaryFromAST.createArg (   self,
  dict,
  typeobj,
  out 
)

Definition at line 804 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createArgs (   self,
  operation,
  env 
)

corba:
  base_type:
  arg_type:
  arg_name:
  var_name:
  decl_type:
  direction:
  tk:
local:
  base_type:
  arg_type:
  arg_name:
  var_name:
  decl_type:
  direction:
  tk:


Definition at line 744 of file dictbuilder.py.

Definition at line 668 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createDecl (   self,
  decl_type 
)
宣言情報の基本ディクショナリの生成

decl_type:     宣言のタイプ, struct, interface, union など
corba:
  decl_type:     宣言のタイプ, struct, interface, union など
  corba_ns: []   ネームスペースのリスト
local:
  decl_type:     宣言のタイプ, struct, interface, union など
  local_ns: []   ローカルインターフェースのネームスペース
  adapter_ns: [] アダプタのネームスペース
  servant_ns: [] サーバントのネームスペース

Definition at line 188 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createEnumIdent (   self,
  dict,
  node 
)

Definition at line 440 of file dictbuilder.py.

Definition at line 444 of file dictbuilder.py.

Definition at line 151 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createIdent (   self,
  dict,
  node 
)
宣言の識別子に関するディクショナリの生成
主に、識別子のIDL、C++、Local名を生成する
createDeclで生成したディクショナリとnodeを引数に取る

corba:
  idl_name:       宣言のidl上の識別子
  name:           C++にマッピングされた識別子
  name_fq:        C++識別子の完全修飾名
  scoped_name: [] リスト形式の完全修飾名
local:
  idl_name:       宣言のidl上の識別子
  name:           C++にマッピングされた識別子
  name_fq:        C++識別子の完全修飾名
  scoped_name: [] リスト形式の完全修飾名

Definition at line 266 of file dictbuilder.py.

インターフェース関連ファイル名のディクショナリの生成

local:
  iface_h:               Interfaceヘッダファイル名
  iface_cpp:             Interface実装ファイル名
  iface_h_path:          Interfaceヘッダのインクルードパス
  iface_include_guard:   Interfaceヘッダののインクルードガード
  servant_h:             Servantヘッダファイル名
  servant_cpp:           Servant実装ファイル名
  servant_h_path:        Servantヘッダのインクルードパス
  servant_include_guard: Servantヘッダののインクルードガード
  adapter_h:             Adapterヘッダファイル名
  adapter_cpp:           Adapter実装ファイル名
  adapter_h_path:        Adapterヘッダのインクルードパス
  adapter_include_guard: Adapterヘッダののインクルードガード

Definition at line 358 of file dictbuilder.py.

インターフェース宣言の識別子に関するディクショナリの生成
interface/servant/adapter 名を作成しディクショナリに追加する

corba:
  name_poa:            CORBA POAクラス名
local:
  iface_name:          Interfaceの識別子
  iface_name_fq:       Interfaceの完全修飾名
  iface_scoped_name:   Interfaceのリスト形式完全修飾名
  servant_name:        Servantの識別子
  servant_name_fq:     Servantの完全修飾名
  servant_scoped_name: Servantのリスト形式完全修飾名
  adapter_name:        Adapterの識別子
  adapter_name_fq:     Adapterの完全修飾名
  adapter_scoped_name: Adapterのリスト形式完全修飾名

Definition at line 317 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createMember (   self,
  decl,
  member,
  env 
)

Definition at line 472 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createMembers (   self,
  dict,
  node 
)

Definition at line 448 of file dictbuilder.py.

Definition at line 658 of file dictbuilder.py.

corba:
  base_type:
  ret_type:
  decl_type:
  tk:
local:
  base_type:
  ret_type:
  decl_type:
  tk:

Definition at line 683 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createStructIdent (   self,
  dict,
  node 
)

Definition at line 436 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createTypedef (   self,
  aliasType,
  decl,
  env 
)
typedef宣言に関するディクショナリの生成

corba:
  derived_type:    導出型名
  derived_fq_type: 完全修飾導出型名
  deref_type:      非参照型名
  deref_fq_type:   完全修飾非参型名
  tk: TypeCode
local:
  derived_type:    導出型名
  derived_fq_type: 完全修飾導出型名
  deref_type:      非参照型名
  deref_fq_type:   完全修飾非参型名

Definition at line 601 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createUnionCase (   self,
  case,
  node,
  switchtype,
  environment 
)

Definition at line 516 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createUnionCases (   self,
  dict,
  node 
)

Definition at line 501 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createUnionIdent (   self,
  dict,
  node 
)
共用体宣言のの識別子に関するディクショナリの生成

corba:
  idl_name:          宣言のidl上の識別子
  name:              C++にマッピングされた識別子
  name_fq:           C++識別子の完全修飾名
  scoped_name: []    リスト形式の完全修飾名
  switch_type:       switchの型
  switch_fq_type:    switchの完全修飾型
  deref_switch_type: switchの非参照型
local:
  idl_name:          宣言のidl上の識別子
  name:              C++にマッピングされた識別子
  name_fq:           C++識別子の完全修飾名
  scoped_name: []    リスト形式の完全修飾名

Definition at line 401 of file dictbuilder.py.

Definition at line 60 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.getType (   self,
  typeobj 
)
CORBA と Local の型名を取得する

Definition at line 212 of file dictbuilder.py.

Definition at line 858 of file dictbuilder.py.

Definition at line 873 of file dictbuilder.py.

Definition at line 925 of file dictbuilder.py.

Definition at line 903 of file dictbuilder.py.

Definition at line 895 of file dictbuilder.py.

Definition at line 965 of file dictbuilder.py.

Definition at line 864 of file dictbuilder.py.

Definition at line 956 of file dictbuilder.py.

Definition at line 877 of file dictbuilder.py.

Definition at line 940 of file dictbuilder.py.

Definition at line 914 of file dictbuilder.py.

Definition at line 886 of file dictbuilder.py.


Member Data Documentation

Definition at line 63 of file dictbuilder.py.

Definition at line 63 of file dictbuilder.py.

Definition at line 63 of file dictbuilder.py.

Definition at line 63 of file dictbuilder.py.

Definition at line 63 of file dictbuilder.py.

Definition at line 63 of file dictbuilder.py.

Definition at line 63 of file dictbuilder.py.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sat Jun 8 2019 18:49:11