lintel 0.2.0
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
lintel::HistoryComponent Class Reference

#include <HistoryComponent.h>

Inheritance diagram for lintel::HistoryComponent:
lintel::Component

Public Member Functions

 HistoryComponent ()
 
std::vector< std::shared_ptr< Entry > > parse (const std::string &content, int32_t lineOffset, const std::string &fileName) override
 
- Public Member Functions inherited from lintel::Component
 Component (std::string configRoot)
 
virtual ~Component ()=default
 
const std::string & getConfigRoot () const
 

Additional Inherited Members

- Static Protected Member Functions inherited from lintel::Component
static std::size_t convertToBytes (const std::string &size)
 

Detailed Description

Component for parsing the history service configuration from XML

Constructor & Destructor Documentation

◆ HistoryComponent()

lintel::HistoryComponent::HistoryComponent ( )

Construct a HistoryComponent

Member Function Documentation

◆ parse()

std::vector< std::shared_ptr< Entry > > lintel::HistoryComponent::parse ( const std::string &  content,
int32_t  lineOffset,
const std::string &  fileName 
)
overridevirtual

Parse history service configuration XML

Parameters
contentXML content to parse
fileNameSource file name for error reporting
lineOffsetLine offset for error reporting
Returns
Vector of parsed history service entries

Implements lintel::Component.


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