NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim::QChatImageAttach结构体 参考

#include <nim_qchat_message_cpp_def.h>

类 nim::QChatImageAttach 继承关系图:
nim::QChatFileAttach nim::IQChatAttachInterface

Public 成员函数

 QChatImageAttach ()=default
 
 QChatImageAttach (const std::string &raw_data)
 
 QChatImageAttach (const NIMQChatImageAttach &c_param)
 
NIMQChatImageAttach ToCParam () const
 
void SetRawData (const std::string &raw_data) override
 
std::string GetRawData () const override
 
- Public 成员函数 继承自 nim::QChatFileAttach
 QChatFileAttach ()=default
 
 QChatFileAttach (const std::string &raw_data)
 
 QChatFileAttach (const NIMQChatFileAttach &c_param)
 
NIMQChatFileAttach ToCParam () const
 
void ProcessFileFields (nim_cpp_wrapper_util::Json::Value &values) const
 
bool IsFileBased () const override
 
- Public 成员函数 继承自 nim::IQChatAttachInterface
 IQChatAttachInterface ()=default
 
virtual ~IQChatAttachInterface ()
 

Public 属性

uint32_t width = 0
 
uint32_t height = 0
 
- Public 属性 继承自 nim::QChatFileAttach
std::string name
 
std::string file_path
 
std::string hash
 
std::string download_url
 
std::string extension
 

构造及析构函数说明

◆ QChatImageAttach() [1/3]

nim::QChatImageAttach::QChatImageAttach ( )
default

◆ QChatImageAttach() [2/3]

nim::QChatImageAttach::QChatImageAttach ( const std::string & raw_data)
inline

◆ QChatImageAttach() [3/3]

nim::QChatImageAttach::QChatImageAttach ( const NIMQChatImageAttach & c_param)
inline

成员函数说明

◆ GetRawData()

std::string nim::QChatImageAttach::GetRawData ( ) const
inlineoverridevirtual

◆ SetRawData()

void nim::QChatImageAttach::SetRawData ( const std::string & raw_data)
inlineoverridevirtual

◆ ToCParam()

NIMQChatImageAttach nim::QChatImageAttach::ToCParam ( ) const
inline

类成员变量说明

◆ height

uint32_t nim::QChatImageAttach::height = 0

◆ width

uint32_t nim::QChatImageAttach::width = 0

该结构体的文档由以下文件生成: