Audacity  3.0.3
Namespaces | Typedefs | Enumerations | Functions | Variables
ProjectSerializer.cpp File Reference
#include "ProjectSerializer.h"
#include <algorithm>
#include <cstdint>
#include <mutex>
#include <wx/ustring.h>
Include dependency graph for ProjectSerializer.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{ProjectSerializer.cpp}
 

Typedefs

using anonymous_namespace{ProjectSerializer.cpp}::UShort = std::uint16_t
 
using anonymous_namespace{ProjectSerializer.cpp}::Int = std::int32_t
 
using anonymous_namespace{ProjectSerializer.cpp}::Long = std::int32_t
 
using anonymous_namespace{ProjectSerializer.cpp}::ULong = std::uint32_t
 
using anonymous_namespace{ProjectSerializer.cpp}::LongLong = std::int64_t
 
using anonymous_namespace{ProjectSerializer.cpp}::Length = Int
 
using anonymous_namespace{ProjectSerializer.cpp}::Digits = Int
 

Enumerations

enum  FieldTypes {
  FT_CharSize, FT_StartTag, FT_EndTag, FT_String,
  FT_Int, FT_Bool, FT_Long, FT_LongLong,
  FT_SizeT, FT_Float, FT_Double, FT_Data,
  FT_Raw, FT_Push, FT_Pop, FT_Name
}
 

Functions

bool anonymous_namespace{ProjectSerializer.cpp}::IsLittleEndian ()
 
template<typename Number >
void anonymous_namespace{ProjectSerializer.cpp}::WriteLittleEndian (wxMemoryBuffer &out, Number value)
 
template<typename Number >
void anonymous_namespace{ProjectSerializer.cpp}::WriteBigEndian (wxMemoryBuffer &out, Number value)
 
template<typename Number >
Number anonymous_namespace{ProjectSerializer.cpp}::ReadLittleEndian (wxMemoryInputStream &in)
 
template<typename Number >
Number anonymous_namespace{ProjectSerializer.cpp}::ReadBigEndian (wxMemoryInputStream &in)
 

Variables

static const auto anonymous_namespace{ProjectSerializer.cpp}::WriteUShort
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::WriteInt
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::WriteLong
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::WriteULong
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::WriteLongLong
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::ReadUShort
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::ReadInt
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::ReadLong
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::ReadULong
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::ReadLongLong
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::WriteLength = WriteInt
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::ReadLength = ReadInt
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::WriteDigits = WriteInt
 
static const auto anonymous_namespace{ProjectSerializer.cpp}::ReadDigits = ReadInt
 

Enumeration Type Documentation

◆ FieldTypes

enum FieldTypes

ProjectSerializer class

Enumerator
FT_CharSize 
FT_StartTag 
FT_EndTag 
FT_String 
FT_Int 
FT_Bool 
FT_Long 
FT_LongLong 
FT_SizeT 
FT_Float 
FT_Double 
FT_Data 
FT_Raw 
FT_Push 
FT_Pop 
FT_Name 

Definition at line 54 of file ProjectSerializer.cpp.

55 {
56  FT_CharSize, // type, ID, value
57  FT_StartTag, // type, ID
58  FT_EndTag, // type, ID
59  FT_String, // type, ID, string length, string
60  FT_Int, // type, ID, value
61  FT_Bool, // type, ID, value
62  FT_Long, // type, ID, value
63  FT_LongLong, // type, ID, value
64  FT_SizeT, // type, ID, value
65  FT_Float, // type, ID, value, digits
66  FT_Double, // type, ID, value, digits
67  FT_Data, // type, string length, string
68  FT_Raw, // type, string length, string
69  FT_Push, // type only
70  FT_Pop, // type only
71  FT_Name // type, ID, name length, name
72 };
FT_Data
@ FT_Data
Definition: ProjectSerializer.cpp:67
FT_SizeT
@ FT_SizeT
Definition: ProjectSerializer.cpp:64
FT_Bool
@ FT_Bool
Definition: ProjectSerializer.cpp:61
FT_StartTag
@ FT_StartTag
Definition: ProjectSerializer.cpp:57
FT_Float
@ FT_Float
Definition: ProjectSerializer.cpp:65
FT_Int
@ FT_Int
Definition: ProjectSerializer.cpp:60
FT_EndTag
@ FT_EndTag
Definition: ProjectSerializer.cpp:58
FT_Pop
@ FT_Pop
Definition: ProjectSerializer.cpp:70
FT_Double
@ FT_Double
Definition: ProjectSerializer.cpp:66
FT_Long
@ FT_Long
Definition: ProjectSerializer.cpp:62
FT_String
@ FT_String
Definition: ProjectSerializer.cpp:59
FT_Name
@ FT_Name
Definition: ProjectSerializer.cpp:71
FT_Raw
@ FT_Raw
Definition: ProjectSerializer.cpp:68
FT_LongLong
@ FT_LongLong
Definition: ProjectSerializer.cpp:63
FT_CharSize
@ FT_CharSize
Definition: ProjectSerializer.cpp:56
FT_Push
@ FT_Push
Definition: ProjectSerializer.cpp:69