SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
toolpp::FGDWriter::EntityWriter Class Reference

#include <FGD.h>

Classes

class  KeyValueChoicesWriter
class  KeyValueFlagsWriter

Public Member Functions

 EntityWriter (FGDWriter &parent_)
EntityWriterkeyValue (std::string_view name, std::string_view valueType, std::string_view displayName="", std::string_view valueDefault="", std::string_view description="", bool readOnly=false, bool report=false)
KeyValueChoicesWriter beginKeyValueChoices (std::string_view name, std::string_view displayName="", std::string_view valueDefault="", std::string_view description="", bool readOnly=false, bool report=false)
KeyValueFlagsWriter beginKeyValueFlags (std::string_view name, std::string_view displayName="", std::string_view description="", bool readOnly=false, bool report=false)
EntityWriterinput (std::string_view name, std::string_view valueType, std::string_view description="")
EntityWriteroutput (std::string_view name, std::string_view valueType, std::string_view description="")
FGDWriterendEntity () const

Detailed Description

Definition at line 139 of file FGD.h.

Constructor & Destructor Documentation

◆ EntityWriter()

FGDWriter::EntityWriter::EntityWriter ( FGDWriter & parent_)
explicit

Definition at line 605 of file FGD.cpp.

Member Function Documentation

◆ beginKeyValueChoices()

FGDWriter::EntityWriter::KeyValueChoicesWriter FGDWriter::EntityWriter::beginKeyValueChoices ( std::string_view name,
std::string_view displayName = "",
std::string_view valueDefault = "",
std::string_view description = "",
bool readOnly = false,
bool report = false )

Definition at line 756 of file FGD.cpp.

◆ beginKeyValueFlags()

FGDWriter::EntityWriter::KeyValueFlagsWriter FGDWriter::EntityWriter::beginKeyValueFlags ( std::string_view name,
std::string_view displayName = "",
std::string_view description = "",
bool readOnly = false,
bool report = false )

Definition at line 787 of file FGD.cpp.

◆ endEntity()

FGDWriter & FGDWriter::EntityWriter::endEntity ( ) const

Definition at line 862 of file FGD.cpp.

◆ input()

FGDWriter::EntityWriter & FGDWriter::EntityWriter::input ( std::string_view name,
std::string_view valueType,
std::string_view description = "" )

Definition at line 826 of file FGD.cpp.

◆ keyValue()

FGDWriter::EntityWriter & FGDWriter::EntityWriter::keyValue ( std::string_view name,
std::string_view valueType,
std::string_view displayName = "",
std::string_view valueDefault = "",
std::string_view description = "",
bool readOnly = false,
bool report = false )

Definition at line 738 of file FGD.cpp.

◆ output()

FGDWriter::EntityWriter & FGDWriter::EntityWriter::output ( std::string_view name,
std::string_view valueType,
std::string_view description = "" )

Definition at line 844 of file FGD.cpp.


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