Public Member Functions | Public Attributes | Private Attributes | List of all members
doil.dictbuilder.BuildDictionaryFromAST Class Reference
Inheritance diagram for doil.dictbuilder.BuildDictionaryFromAST:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, tree, config)
 
def createArg (self, dict, typeobj, out)
 
def createArgs (self, operation, env)
 
def createAttribute (self, ident)
 
def createDecl (self, decl_type)
 
def createEnumIdent (self, dict, node)
 
def createExceptionIdent (self, dict, node)
 
def createHeaderInfo (self, idl_path)
 
def createIdent (self, dict, node)
 
def createInterfaceFileInfo (self, dict, node)
 
def createInterfaceIdent (self, dict, node)
 
def createMember (self, decl, member, env)
 
def createMembers (self, dict, node)
 
def createOperation (self, operation)
 
def createReturn (self, operation)
 
def createStructIdent (self, dict, node)
 
def createTypedef (self, aliasType, decl, env)
 
def createUnionCase (self, case, node, switchtype, environment)
 
def createUnionCases (self, dict, node)
 
def createUnionIdent (self, dict, node)
 
def get_dict (self)
 
def getType (self, typeobj)
 
def visitAST (self, node)
 
def visitDeclarator (self, node)
 
def visitEnum (self, node)
 
def visitException (self, node)
 
def visitForward (self, node)
 
def visitInterface (self, node)
 
def visitModule (self, node)
 
def visitStruct (self, node)
 
def visitStructForward (self, node)
 
def visitTypedef (self, node)
 
def visitUnion (self, node)
 
def visitUnionForward (self, node)
 

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.

def doil.dictbuilder.BuildDictionaryFromAST.createAttribute (   self,
  ident 
)

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.

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

Definition at line 444 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createHeaderInfo (   self,
  idl_path 
)

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.

def doil.dictbuilder.BuildDictionaryFromAST.createInterfaceFileInfo (   self,
  dict,
  node 
)
インターフェース関連ファイル名のディクショナリの生成

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.

def doil.dictbuilder.BuildDictionaryFromAST.createInterfaceIdent (   self,
  dict,
  node 
)
インターフェース宣言の識別子に関するディクショナリの生成
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.

def doil.dictbuilder.BuildDictionaryFromAST.createOperation (   self,
  operation 
)

Definition at line 658 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.createReturn (   self,
  operation 
)
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.

def doil.dictbuilder.BuildDictionaryFromAST.get_dict (   self)

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.

def doil.dictbuilder.BuildDictionaryFromAST.visitAST (   self,
  node 
)

Definition at line 858 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitDeclarator (   self,
  node 
)

Definition at line 873 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitEnum (   self,
  node 
)

Definition at line 925 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitException (   self,
  node 
)

Definition at line 903 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitForward (   self,
  node 
)

Definition at line 895 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitInterface (   self,
  node 
)

Definition at line 965 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitModule (   self,
  node 
)

Definition at line 864 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitStruct (   self,
  node 
)

Definition at line 956 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitStructForward (   self,
  node 
)

Definition at line 877 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitTypedef (   self,
  node 
)

Definition at line 940 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitUnion (   self,
  node 
)

Definition at line 914 of file dictbuilder.py.

def doil.dictbuilder.BuildDictionaryFromAST.visitUnionForward (   self,
  node 
)

Definition at line 886 of file dictbuilder.py.

Member Data Documentation

doil.dictbuilder.BuildDictionaryFromAST.__allInterfaces
private

Definition at line 99 of file dictbuilder.py.

doil.dictbuilder.BuildDictionaryFromAST.config

Definition at line 65 of file dictbuilder.py.

doil.dictbuilder.BuildDictionaryFromAST.corba_primitive

Definition at line 137 of file dictbuilder.py.

doil.dictbuilder.BuildDictionaryFromAST.dict

Definition at line 71 of file dictbuilder.py.

doil.dictbuilder.BuildDictionaryFromAST.module

Definition at line 68 of file dictbuilder.py.

doil.dictbuilder.BuildDictionaryFromAST.tk_map

Definition at line 100 of file dictbuilder.py.

doil.dictbuilder.BuildDictionaryFromAST.typemap

Definition at line 95 of file dictbuilder.py.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:08:00