Audacity 3.2.0
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
ProjectSerializer.cpp File Reference
#include "ProjectSerializer.h"
#include <algorithm>
#include <cstdint>
#include <mutex>
#include <wx/ustring.h>
#include <codecvt>
#include <locale>
#include <deque>
#include <wx/log.h>
#include "BufferedStreamReader.h"
#include "MemoryX.h"
Include dependency graph for ProjectSerializer.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{ProjectSerializer.cpp}::XMLTagHandlerAdapter
 

Namespaces

namespace  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

template<typename Number >
void anonymous_namespace{ProjectSerializer.cpp}::WriteLittleEndian (MemoryStream &out, Number value)
 
template<typename Number >
void anonymous_namespace{ProjectSerializer.cpp}::WriteBigEndian (MemoryStream &out, Number value)
 
template<typename Number >
Number anonymous_namespace{ProjectSerializer.cpp}::ReadLittleEndian (BufferedStreamReader &in)
 
template<typename Number >
Number anonymous_namespace{ProjectSerializer.cpp}::ReadBigEndian (BufferedStreamReader &in)
 
template<typename BaseCharType >
std::string anonymous_namespace{ProjectSerializer.cpp}::FastStringConvert (const void *bytes, int bytesCount)
 

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 61 of file ProjectSerializer.cpp.

62{
63 FT_CharSize, // type, ID, value
64 FT_StartTag, // type, ID
65 FT_EndTag, // type, ID
66 FT_String, // type, ID, string length, string
67 FT_Int, // type, ID, value
68 FT_Bool, // type, ID, value
69 FT_Long, // type, ID, value
70 FT_LongLong, // type, ID, value
71 FT_SizeT, // type, ID, value
72 FT_Float, // type, ID, value, digits
73 FT_Double, // type, ID, value, digits
74 FT_Data, // type, string length, string
75 FT_Raw, // type, string length, string
76 FT_Push, // type only
77 FT_Pop, // type only
78 FT_Name // type, ID, name length, name
79};
@ FT_Int
@ FT_String
@ FT_EndTag
@ FT_Push
@ FT_Raw
@ FT_Float
@ FT_CharSize
@ FT_Bool
@ FT_Name
@ FT_Double
@ FT_Pop
@ FT_SizeT
@ FT_Data
@ FT_LongLong
@ FT_StartTag
@ FT_Long