Tuinfork
Özet
Türdefler |
|
---|---|
ProtobufSerialization
|
typedefstd::vector< uint8_t >
Baytların STL vektörü olarak depolanan bir protokol arabelleği serileştirmesi. |
Fonksiyonlar |
|
---|---|
CProtobufSerialization_Alloc(const T & pb)
|
Bir protokol arabelleği nesnesini CProtobuf'a serileştirin.
|
Deserialize(const std::vector< uint8_t > & ser, T & pb)
|
bool
Baytlardan oluşan bir STL vektörünü, bir protokol arabellek nesnesine seri durumdan çıkarın.
|
Serialize(const T & pb, std::vector< uint8_t > & ser)
|
bool
Bir protokol arabellek nesnesini baytlardan oluşan bir STL vektörü olarak serileştirin.
|
Serialize(const T & pb)
|
std::vector< uint8_t >
Bir protokol arabellek nesnesini baytlardan oluşan bir STL vektörü olarak serileştirin.
|
ToCProtobufSerialization(const ProtobufSerialization & pbs, CProtobufSerialization & cpbs)
|
void
C++'tan C serileştirmesine dönüştürün.
|
ToCProtobufSerialization(const std::string & s, CProtobufSerialization & cpbs)
|
void
STL dizesinden C serileştirmesine dönüştürün.
|
ToProtobufSerialization(const CProtobufSerialization & cpbs)
|
ProtobufSerialization
C'den C++ serileştirmesine dönüştürün.
|
ToString(const CProtobufSerialization & cpbs)
|
std::string
C serileştirmesinden STL dizesine dönüştürün.
|
Yapılar |
|
---|---|
adjustfork:: |
|
Adjustfork:: |
|
Türdefler
ProtobufSerializasyon
std::vector< uint8_t > ProtobufSerialization
Baytların STL vektörü olarak depolanan bir protokol arabelleği serileştirmesi.
Fonksiyonlar
CProtobufSerialization_Alloc
CProtobufSerialization CProtobufSerialization_Alloc( const T & pb )
Bir protokol arabelleği nesnesini CProtobuf'a serileştirin.
Arayan, döndürülen serileştirmenin sahipliğini alır ve belleği dağıtmak için CProtobufSerialization_Free'yi çağırmalıdır.
Seri durumdan çıkar
bool Deserialize( const std::vector< uint8_t > & ser, T & pb )
Baytlardan oluşan bir STL vektörünü, bir protokol arabellek nesnesine seri durumdan çıkarın.
Serileştir
bool Serialize( const T & pb, std::vector< uint8_t > & ser )
Bir protokol arabellek nesnesini baytlardan oluşan bir STL vektörü olarak serileştirin.
Serileştir
std::vector< uint8_t > Serialize( const T & pb )
Bir protokol arabellek nesnesini baytlardan oluşan bir STL vektörü olarak serileştirin.
ToCProtobufSerializasyon
void ToCProtobufSerialization( const ProtobufSerialization & pbs, CProtobufSerialization & cpbs )
C++'tan C serileştirmesine dönüştürün.
ToCProtobufSerializasyon
void ToCProtobufSerialization( const std::string & s, CProtobufSerialization & cpbs )
STL dizesinden C serileştirmesine dönüştürün.
ToProtobufSerializasyon
ProtobufSerialization ToProtobufSerialization( const CProtobufSerialization & cpbs )
C'den C++ serileştirmesine dönüştürün.
Alıcı dizesi
std::string ToString( const CProtobufSerialization & cpbs )
C serileştirmesinden STL dizesine dönüştürün.