StreamConfig

Public Member Functions | Public Attributes | List of all members # bmf.builder.graph_config.StreamConfig Class Reference

公有成员函数

def init (self, stream_config_dict=None)

def set_identifier (self, identifier )

def get_identifier (self)

def set_alias (self, stream_alias )

def get_alias (self)

def dump (self)

公共属性

identifier

stream_alias

详细描述

构造函数和析构函数文档

 init()

def bmf.builder.graph_config.StreamConfig.__init__ (  self, 
   stream_config_dict = None 
 )   
     def __init__(self, stream_config_dict=None):
         self.identifier = None
         self.stream_alias = None
 
         if stream_config_dict is not None:
             if 'identifier' in stream_config_dict.keys():
                 self.identifier = stream_config_dict['identifier']
 
             if 'stream_alias' in stream_config_dict.keys():
                 self.stream_alias = stream_config_dict['stream_alias']
 

成员函数文档

 dump()

def bmf.builder.graph_config.StreamConfig.dump (  self )  
     def dump(self):
         return json.dumps(obj=self.__dict__,
                           ensure_ascii=False,
                           indent=4,
                           cls=GraphConfigEncoder)
 
 

 get_alias()

def bmf.builder.graph_config.StreamConfig.get_alias (  self )  
     def get_alias(self):
         return self.stream_alias
 

 get_identifier()

def bmf.builder.graph_config.StreamConfig.get_identifier (  self )  
     def get_identifier(self):
         return self.identifier
 

 set_alias()

def bmf.builder.graph_config.StreamConfig.set_alias (  self, 
   stream_alias 
 )   
     def set_alias(self, stream_alias):
         self.stream_alias = stream_alias
 

 set_identifier()

def bmf.builder.graph_config.StreamConfig.set_identifier (  self, 
   identifier 
 )   
     def set_identifier(self, identifier):
         self.identifier = identifier
 

成员数据文档

 identifier

bmf.builder.graph_config.StreamConfig.identifier 

 stream_alias

bmf.builder.graph_config.StreamConfig.stream_alias 
  • /20230627/doxygen_converter/bmf/bmf/builder/ graph_config.py

最后修改 February 19, 2024 : fix baidu statistics (daa0758)