Am5os
 All Classes Functions Pages
Public Member Functions | List of all members
ProtobufImageWrapper Class Reference

Public Member Functions

bool ParseFromArray (unsigned char *file, int protobuf_file_size)
 
const ::std::string & GetImagePayload ()
 
bool HasImagePayload ()
 
int GetImageWidth ()
 
bool HasImageWidth ()
 
int GetImageHeight ()
 
bool HasImageHeight ()
 

Member Function Documentation

int ProtobufImageWrapper::GetImageHeight ( )

Gets the image height

Returns
the image height as int

Here is the caller graph for this function:

const ::std::string & ProtobufImageWrapper::GetImagePayload ( )

Gets the image payload as string

Returns
the payload as string

Here is the caller graph for this function:

int ProtobufImageWrapper::GetImageWidth ( )

Gets the image width

Returns
the image width as int

Here is the caller graph for this function:

bool ProtobufImageWrapper::HasImageHeight ( )

Queries if the protobuf-image has a height-value included

Returns
bool
bool ProtobufImageWrapper::HasImagePayload ( )

Queries if the protobuf-iamge has a payload-value included

Returns
bool
bool ProtobufImageWrapper::HasImageWidth ( )

Queries if the protobuf-image has a width-value included

Returns
bool
bool ProtobufImageWrapper::ParseFromArray ( unsigned char *  file,
int  protobuf_file_size 
)

Parses the protobuf files from an unsigned char*

Parameters
fileThe file as char*
protobuf_file_sizethe size of the file

Here is the caller graph for this function:


The documentation for this class was generated from the following files: