liblcf
Loading...
Searching...
No Matches
lcf Namespace Reference

Namespaces

namespace  ReaderUtil
 
namespace  rpg
 

Classes

struct  Category
 
struct  CountField
 
struct  DatabaseVersionField
 
class  DbStringVectorXmlHandler
 
class  DbStringXmlHandler
 
struct  EmptyField
 
class  EquipmentXmlHandler
 
class  EventCommandVectorXmlHandler
 
class  EventCommandXmlHandler
 
struct  Field
 
class  Flags
 
class  FlagsXmlHandler
 
struct  IDChecker
 
struct  IDReaderT
 
struct  IDReaderT< S, false >
 
struct  IDReaderT< S, true >
 
struct  LcfSizeT
 
struct  LcfSizeT< bool >
 
class  MoveCommandVectorXmlHandler
 
class  MoveCommandXmlHandler
 
class  ParametersXmlHandler
 
struct  Primitive
 
struct  Primitive< DBBitArray >
 
struct  Primitive< int32_t >
 
struct  Primitive< std::string >
 
struct  Primitive< std::vector< T > >
 
struct  RawStruct
 
struct  RawStruct< DBString >
 
struct  RawStruct< rpg::Equipment >
 
struct  RawStruct< rpg::EventCommand >
 
struct  RawStruct< rpg::MoveCommand >
 
struct  RawStruct< rpg::Parameters >
 
struct  RawStruct< rpg::Rect >
 
struct  RawStruct< rpg::TreeMap >
 
struct  RawStruct< std::vector< DBString > >
 
struct  RawStruct< std::vector< rpg::EventCommand > >
 
struct  RawStruct< std::vector< rpg::MoveCommand > >
 
class  RectXmlHandler
 
class  RootXmlHandler
 
struct  SizeField
 
struct  StringComparator
 
class  Struct
 
struct  StructDefault
 
struct  StructDefault< rpg::Actor >
 
class  StructFieldXmlHandler
 
class  StructVectorXmlHandler
 
class  StructXmlHandler
 
class  TreeMapXmlHandler
 
struct  TypeCategory
 
struct  TypeCategory< bool >
 
struct  TypeCategory< DBBitArray >
 
struct  TypeCategory< DBString >
 
struct  TypeCategory< double >
 
struct  TypeCategory< int16_t >
 
struct  TypeCategory< int32_t >
 
struct  TypeCategory< int8_t >
 
struct  TypeCategory< rpg::Equipment >
 
struct  TypeCategory< rpg::EventCommand >
 
struct  TypeCategory< rpg::EventPageCondition::Flags >
 
struct  TypeCategory< rpg::MoveCommand >
 
struct  TypeCategory< rpg::Parameters >
 
struct  TypeCategory< rpg::Rect >
 
struct  TypeCategory< rpg::SaveEasyRpgText::Flags >
 
struct  TypeCategory< rpg::SaveEasyRpgWindow::Flags >
 
struct  TypeCategory< rpg::SavePicture::Flags >
 
struct  TypeCategory< rpg::Terrain::Flags >
 
struct  TypeCategory< rpg::TreeMap >
 
struct  TypeCategory< rpg::TroopPageCondition::Flags >
 
struct  TypeCategory< std::string >
 
struct  TypeCategory< std::vector< T > >
 
struct  TypeCategory< uint32_t >
 
struct  TypeCategory< uint8_t >
 
struct  TypedField
 
struct  TypeReader
 
struct  TypeReader< std::vector< T >, Category::Struct >
 
struct  TypeReader< T, Category::Flags >
 
struct  TypeReader< T, Category::Primitive >
 
struct  TypeReader< T, Category::RawStruct >
 
struct  TypeReader< T, Category::Struct >
 
struct  TypeReader< T, Category::Void >
 
class  WrapperXmlHandler
 

Functions

static ptrdiff_t HeaderSize (size_t align)
 
static size_t AllocSize (size_t size, size_t align)
 
static void * Adjust (void *p, ptrdiff_t off)
 
static std::string filterUtf8Compatible (std::string enc)
 
template<typename T >
std::enable_if< std::is_same< T, rpg::Save >::value||std::is_same< T, rpg::Database >::value >::type conditional_zero_writer (LcfWriter &)
 
template<typename T >
std::enable_if<!std::is_same< T, rpg::Save >::value &&!std::is_same< T, rpg::Database >::value >::type conditional_zero_writer (LcfWriter &stream)
 
template<>
void XmlReader::Read< std::string > (std::string &val, const std::string &data)
 
template<>
void XmlReader::Read< std::vector< int32_t > > (std::vector< int32_t > &val, const std::string &data)
 
template<>
void XmlReader::Read< std::vector< bool > > (std::vector< bool > &val, const std::string &data)
 
template<>
void XmlReader::Read< std::vector< uint8_t > > (std::vector< uint8_t > &val, const std::string &data)
 
template<>
void XmlReader::Read< std::vector< int16_t > > (std::vector< int16_t > &val, const std::string &data)
 
template<>
void XmlReader::Read< std::vector< uint32_t > > (std::vector< uint32_t > &val, const std::string &data)
 
template<>
void XmlReader::Read< std::vector< double > > (std::vector< double > &val, const std::string &data)
 
EngineVersion GetEngineVersion (const lcf::rpg::Database &db)
 
template<>
void XmlWriter::Write< std::string > (const std::string &val)
 
template<>
void XmlWriter::Write< std::vector< int32_t > > (const std::vector< int32_t > &val)
 
template<>
void XmlWriter::Write< std::vector< bool > > (const std::vector< bool > &val)
 
template<>
void XmlWriter::Write< std::vector< uint8_t > > (const std::vector< uint8_t > &val)
 
template<>
void XmlWriter::Write< std::vector< int16_t > > (const std::vector< int16_t > &val)
 
template<>
void XmlWriter::Write< std::vector< uint32_t > > (const std::vector< uint32_t > &val)
 
template<>
void XmlWriter::Write< std::vector< double > > (const std::vector< double > &val)
 
template void XmlWriter::WriteNode< std::string > (const std::string &name, const std::string &val)
 
template void XmlWriter::WriteNode< std::vector< bool > > (const std::string &name, const std::vector< bool > &val)
 
template void XmlWriter::WriteNode< std::vector< uint8_t > > (const std::string &name, const std::vector< uint8_t > &val)
 
template void XmlWriter::WriteNode< std::vector< int16_t > > (const std::string &name, const std::vector< int16_t > &val)
 
template void XmlWriter::WriteNode< std::vector< uint32_t > > (const std::string &name, const std::vector< uint32_t > &val)
 
template void XmlWriter::WriteNode< std::vector< int32_t > > (const std::string &name, const std::vector< int32_t > &val)
 

Variables

static EmptyField< rpg::Database > static_commoneventD2 (LDB_Reader::ChunkDatabase::commoneventD2, "commoneventD2", 1, 1)
 
static EmptyField< rpg::Database > static_commoneventD3 (LDB_Reader::ChunkDatabase::commoneventD3, "commoneventD3", 1, 1)
 
static EmptyField< rpg::Database > static_classD1 (LDB_Reader::ChunkDatabase::classD1, "classD1", 1, 1)
 

Function Documentation

◆ Adjust()

static void * lcf::Adjust ( void *  p,
ptrdiff_t  off 
)
static

Definition at line 26 of file dbarray.cpp.

◆ AllocSize()

static size_t lcf::AllocSize ( size_t  size,
size_t  align 
)
static

Definition at line 22 of file dbarray.cpp.

References HeaderSize().

+ Here is the call graph for this function:

◆ conditional_zero_writer() [1/2]

template<typename T >
std::enable_if< std::is_same< T, rpg::Save >::value||std::is_same< T, rpg::Database >::value >::type lcf::conditional_zero_writer ( LcfWriter &  )

Definition at line 95 of file reader_struct_impl.h.

◆ conditional_zero_writer() [2/2]

template<typename T >
std::enable_if<!std::is_same< T, rpg::Save >::value &&!std::is_same< T, rpg::Database >::value >::type lcf::conditional_zero_writer ( LcfWriter &  stream)

Definition at line 102 of file reader_struct_impl.h.

◆ filterUtf8Compatible()

static std::string lcf::filterUtf8Compatible ( std::string  enc)
static

Definition at line 38 of file encoder.cpp.

◆ GetEngineVersion()

EngineVersion lcf::GetEngineVersion ( const lcf::rpg::Database &  db)

Definition at line 6 of file saveopt.cpp.

◆ HeaderSize()

static ptrdiff_t lcf::HeaderSize ( size_t  align)
static

Definition at line 18 of file dbarray.cpp.

Referenced by AllocSize().

+ Here is the caller graph for this function:

◆ XmlReader::Read< std::string >()

template<>
void lcf::XmlReader::Read< std::string > ( std::string &  val,
const std::string &  data 
)

Definition at line 158 of file reader_xml.cpp.

◆ XmlReader::Read< std::vector< bool > >()

template<>
void lcf::XmlReader::Read< std::vector< bool > > ( std::vector< bool > &  val,
const std::string &  data 
)

Definition at line 230 of file reader_xml.cpp.

◆ XmlReader::Read< std::vector< double > >()

template<>
void lcf::XmlReader::Read< std::vector< double > > ( std::vector< double > &  val,
const std::string &  data 
)

Definition at line 250 of file reader_xml.cpp.

◆ XmlReader::Read< std::vector< int16_t > >()

template<>
void lcf::XmlReader::Read< std::vector< int16_t > > ( std::vector< int16_t > &  val,
const std::string &  data 
)

Definition at line 240 of file reader_xml.cpp.

◆ XmlReader::Read< std::vector< int32_t > >()

template<>
void lcf::XmlReader::Read< std::vector< int32_t > > ( std::vector< int32_t > &  val,
const std::string &  data 
)

Definition at line 225 of file reader_xml.cpp.

◆ XmlReader::Read< std::vector< uint32_t > >()

template<>
void lcf::XmlReader::Read< std::vector< uint32_t > > ( std::vector< uint32_t > &  val,
const std::string &  data 
)

Definition at line 245 of file reader_xml.cpp.

◆ XmlReader::Read< std::vector< uint8_t > >()

template<>
void lcf::XmlReader::Read< std::vector< uint8_t > > ( std::vector< uint8_t > &  val,
const std::string &  data 
)

Definition at line 235 of file reader_xml.cpp.

◆ XmlWriter::Write< std::string >()

template<>
void lcf::XmlWriter::Write< std::string > ( const std::string &  val)

Definition at line 107 of file writer_xml.cpp.

◆ XmlWriter::Write< std::vector< bool > >()

template<>
void lcf::XmlWriter::Write< std::vector< bool > > ( const std::vector< bool > &  val)

Definition at line 122 of file writer_xml.cpp.

◆ XmlWriter::Write< std::vector< double > >()

template<>
void lcf::XmlWriter::Write< std::vector< double > > ( const std::vector< double > &  val)

Definition at line 142 of file writer_xml.cpp.

◆ XmlWriter::Write< std::vector< int16_t > >()

template<>
void lcf::XmlWriter::Write< std::vector< int16_t > > ( const std::vector< int16_t > &  val)

Definition at line 132 of file writer_xml.cpp.

◆ XmlWriter::Write< std::vector< int32_t > >()

template<>
void lcf::XmlWriter::Write< std::vector< int32_t > > ( const std::vector< int32_t > &  val)

Definition at line 117 of file writer_xml.cpp.

◆ XmlWriter::Write< std::vector< uint32_t > >()

template<>
void lcf::XmlWriter::Write< std::vector< uint32_t > > ( const std::vector< uint32_t > &  val)

Definition at line 137 of file writer_xml.cpp.

◆ XmlWriter::Write< std::vector< uint8_t > >()

template<>
void lcf::XmlWriter::Write< std::vector< uint8_t > > ( const std::vector< uint8_t > &  val)

Definition at line 127 of file writer_xml.cpp.

◆ XmlWriter::WriteNode< std::string >()

template void lcf::XmlWriter::WriteNode< std::string > ( const std::string &  name,
const std::string &  val 
)

◆ XmlWriter::WriteNode< std::vector< bool > >()

template void lcf::XmlWriter::WriteNode< std::vector< bool > > ( const std::string &  name,
const std::vector< bool > &  val 
)

◆ XmlWriter::WriteNode< std::vector< int16_t > >()

template void lcf::XmlWriter::WriteNode< std::vector< int16_t > > ( const std::string &  name,
const std::vector< int16_t > &  val 
)

◆ XmlWriter::WriteNode< std::vector< int32_t > >()

template void lcf::XmlWriter::WriteNode< std::vector< int32_t > > ( const std::string &  name,
const std::vector< int32_t > &  val 
)

◆ XmlWriter::WriteNode< std::vector< uint32_t > >()

template void lcf::XmlWriter::WriteNode< std::vector< uint32_t > > ( const std::string &  name,
const std::vector< uint32_t > &  val 
)

◆ XmlWriter::WriteNode< std::vector< uint8_t > >()

template void lcf::XmlWriter::WriteNode< std::vector< uint8_t > > ( const std::string &  name,
const std::vector< uint8_t > &  val 
)

Variable Documentation

◆ static_classD1

EmptyField< rpg::Database > lcf::static_classD1(LDB_Reader::ChunkDatabase::classD1, "classD1", 1, 1) ( LDB_Reader::ChunkDatabase::classD1  ,
"classD1"  ,
,
 
)
static

◆ static_commoneventD2

EmptyField< rpg::Database > lcf::static_commoneventD2(LDB_Reader::ChunkDatabase::commoneventD2, "commoneventD2", 1, 1) ( LDB_Reader::ChunkDatabase::commoneventD2  ,
"commoneventD2"  ,
,
 
)
static

◆ static_commoneventD3

EmptyField< rpg::Database > lcf::static_commoneventD3(LDB_Reader::ChunkDatabase::commoneventD3, "commoneventD3", 1, 1) ( LDB_Reader::ChunkDatabase::commoneventD3  ,
"commoneventD3"  ,
,
 
)
static