Torque3D Documentation / _generateds / internal::Hasher

internal::Hasher

Engine/source/persistence/rapidjson/schema.h

More...

Classes:

Public Types

Encoding::Ch
Ch 

Private Static Attributes

Private Attributes

Public Functions

Hasher(Allocator * allocator, size_t stackCapacity)
bool
Bool(bool b)
bool
Double(double d)
bool
EndArray(SizeType elementCount)
bool
EndObject(SizeType memberCount)
bool
Int(int i)
bool
bool
bool
Key(const Ch * str, SizeType len, bool copy)
bool
Null()
bool
RawNumber(const Ch * str, SizeType len, bool )
bool
bool
bool
String(const Ch * str, SizeType len, bool )
bool
Uint(unsigned u)
bool

Private Functions

bool
WriteBuffer(Type type, const void * data, size_t len)
bool
WriteNumber(const Number & n)
bool

Private Static Functions

Detailed Description

Public Types

typedef Encoding::Ch Ch 

Private Static Attributes

const size_t kDefaultSize 

Private Attributes

Stack< Allocator > stack_ 

Public Functions

Hasher(Allocator * allocator, size_t stackCapacity)

Bool(bool b)

Double(double d)

EndArray(SizeType elementCount)

EndObject(SizeType memberCount)

GetHashCode()

Int(int i)

Int64(int64_t i)

IsValid()

Key(const Ch * str, SizeType len, bool copy)

Null()

RawNumber(const Ch * str, SizeType len, bool )

StartArray()

StartObject()

String(const Ch * str, SizeType len, bool )

Uint(unsigned u)

Uint64(uint64_t u)

Private Functions

WriteBuffer(Type type, const void * data, size_t len)

WriteNumber(const Number & n)

WriteType(Type type)

Private Static Functions

Hash(uint64_t h, uint64_t d)