v3 formation parser interface
More...
#include <formation_parser_v3.h>
|
|
| FormationParserV3 ()=default |
| | default constructor
|
| |
|
| ~FormationParserV3 () override |
| | virtual default destructor
|
| |
| virtual std::string | name () const override |
| | get the parser name More...
|
| |
|
virtual | ~FormationParser ()=default |
| | virtual default destructor
|
| |
| virtual std::string | name () const =0 |
| | get the parser name More...
|
| |
|
| Formation::Ptr | parseImpl (std::istream &is) override |
| | parse the input stream More...
|
| |
|
| FormationParser ()=default |
| | default constructor
|
| |
| virtual Formation::Ptr | parseImpl (std::istream &is)=0 |
| | parse the input stream More...
|
| |
| bool | checkRoleNames (const Formation::ConstPtr ptr) |
| | check the consistency of role names More...
|
| |
| bool | checkPositionPair (const Formation::ConstPtr ptr) |
| | check the consistency of position pairs More...
|
| |
|
|
typedef std::shared_ptr< FormationParser > | Ptr |
| | smart pointer type
|
| |
| static Formation::Ptr | parse (const std::string &filepath) |
| | parse the given file More...
|
| |
v3 formation parser interface
◆ name()
| virtual std::string rcsc::FormationParserV3::name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ parseImpl()
| Formation::Ptr rcsc::FormationParserV3::parseImpl |
( |
std::istream & |
is | ) |
|
|
overrideprotectedvirtual |
parse the input stream
- Parameters
-
| is | reference to the input stream to be parsed |
- Returns
- formation instance
Implements rcsc::FormationParser.
The documentation for this class was generated from the following file: