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

Public Member Functions

 first_match_parser (std::vector< std::shared_ptr< ypc::data_source_with_dhash >> &source)
 
bytes do_parse (const bytes &param)
 
bool merge_parse_result (const std::vector< bytes > &block_result, const bytes &param, bytes &result)
 
 first_match_parser (ypc::data_source< bytes > *source)
 
bytes do_parse (const bytes &param)
 
bool merge_parse_result (const std::vector< bytes > &block_result, const bytes &param, bytes &result)
 

Protected Attributes

std::vector< std::shared_ptr< ypc::data_source_with_dhash > > m_datasources
 
ypc::data_source< bytes > * m_source
 

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