YPC  0.2.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
parser Class Reference
Collaboration diagram for parser:
Collaboration graph
[legend]

Public Member Functions

 parser (const input_param_t &param)
 
virtual uint32_t parse ()
 
virtual uint32_t next_data_batch (const uint8_t *data_hash, uint32_t hash_size, uint8_t **data, uint32_t *len)
 
virtual void free_data_batch (uint8_t *data)
 
std::shared_ptr< keymgr_sgx_modulekeymgr () const
 
const std::string & get_result_str () const
 

Protected Member Functions

uint32_t feed_datasource ()
 
uint32_t feed_model ()
 
uint32_t feed_param ()
 
uint32_t dump_result (const ypc::bytes &res)
 

Protected Attributes

input_param_t m_param
 
ypc::utc::parser_type_t m_ptype {}
 
std::shared_ptr< ypc::parser_sgx_modulem_parser
 
std::shared_ptr< keymgr_sgx_modulem_keymgr
 
std::unordered_map< ypc::bytes, std::shared_ptr< ypc::simple_sealed_file > > m_data_sources
 
std::string m_result_str
 

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