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

#include <SharedMemorySegmentComponent.h>

Inheritance diagram for lintel::SharedMemorySegmentComponent:
lintel::Component

Public Member Functions

 SharedMemorySegmentComponent (std::shared_ptr< EnvironmentConfiguration > environmentConfiguration)
 
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 shared memory segment configurations from XML

Constructor & Destructor Documentation

◆ SharedMemorySegmentComponent()

lintel::SharedMemorySegmentComponent::SharedMemorySegmentComponent ( std::shared_ptr< EnvironmentConfiguration >  environmentConfiguration)
explicit

Construct a SharedMemorySegmentComponent

Parameters
environmentConfigurationThe environment configuration

Member Function Documentation

◆ parse()

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

Parse shared memory segment configuration XML

Parameters
contentXML content to parse
fileNameSource file name for error reporting
lineOffsetLine offset for error reporting
Returns
Vector of parsed shared memory segment entries

Implements lintel::Component.


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