|
Colobot
|
Public Member Functions | |
| CLevelParserParam (std::string name, std::string value) | |
| Create param from string. | |
| CLevelParserParam (std::string name, bool empty) | |
| Create empty parser param. | |
| void | SetLine (CLevelParserLine *line) |
| Set line this param is part of. | |
| CLevelParserLine * | GetLine () |
| Get line this param is part of. | |
| std::string | GetName () |
| std::string | GetValue () |
| bool | IsDefined () |
| CLevelParserParam (int value) | |
| Create param with given value. | |
| CLevelParserParam (float value) | |
| CLevelParserParam (std::string value) | |
| CLevelParserParam (bool value) | |
| CLevelParserParam (Gfx::Color value) | |
| CLevelParserParam (Math::Point value) | |
| CLevelParserParam (Math::Vector value) | |
| CLevelParserParam (ObjectType value) | |
| CLevelParserParam (Gfx::CameraType value) | |
| CLevelParserParam (CLevelParserParamVec &&array) | |
| int | AsInt () |
| Get value (throws exception if not found or unable to process) | |
| float | AsFloat () |
| std::string | AsString () |
| bool | AsBool () |
| std::string | AsPath (const std::string defaultDir) |
| Gfx::Color | AsColor () |
| Math::Vector | AsPoint () |
| ObjectType | AsObjectType () |
| DriveType | AsDriveType () |
| ToolType | AsToolType () |
| Gfx::WaterType | AsWaterType () |
| Gfx::EngineObjectType | AsTerrainType () |
| int | AsBuildFlag () |
| int | AsResearchFlag () |
| Gfx::PyroType | AsPyroType () |
| Gfx::CameraType | AsCameraType () |
| MissionType | AsMissionType () |
| const CLevelParserParamVec & | AsArray () |
| Gfx::PlanetType | AsPlanetType () |
| int | AsInt (int def) |
| Get value (returns default if not found, throws exception if unable to process) | |
| float | AsFloat (float def) |
| std::string | AsString (std::string def) |
| bool | AsBool (bool def) |
| std::string | AsPath (const std::string defaultDir, std::string def) |
| Gfx::Color | AsColor (Gfx::Color def) |
| Math::Vector | AsPoint (Math::Vector def) |
| ObjectType | AsObjectType (ObjectType def) |
| DriveType | AsDriveType (DriveType def) |
| ToolType | AsToolType (ToolType def) |
| Gfx::WaterType | AsWaterType (Gfx::WaterType def) |
| Gfx::EngineObjectType | AsTerrainType (Gfx::EngineObjectType def) |
| int | AsBuildFlag (int def) |
| int | AsResearchFlag (int def) |
| Gfx::PyroType | AsPyroType (Gfx::PyroType def) |
| Gfx::CameraType | AsCameraType (Gfx::CameraType def) |
| MissionType | AsMissionType (MissionType def) |
Static Public Member Functions | |
| static const std::string | FromObjectType (ObjectType value) |
| static ObjectType | ToObjectType (std::string value) |
1.8.9.1