NIM PC Cross Platform SDK
nim_chatroom_helper.h File Reference

聊天室SDK辅助方法 More...

#include <algorithm>
#include <functional>
#include <list>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <pthread.h>
#include "nim_chatroom_cpp_wrapper/nim_chatroom_sdk_cpp_wrapper.h"
#include "nim_chatroom_def_include.h"
#include "nim_wrapper_util/nim_json_util.h"

Go to the source code of this file.

Classes

struct  nim_chatroom::ChatRoomEnterInfo
 聊天室登录信息 More...
 
struct  nim_chatroom::ChatRoomIndependentEnterInfo
 
struct  nim_chatroom::ChatRoomAnoymityEnterInfo
 
struct  nim_chatroom::ChatRoomInfo
 聊天室信息 More...
 
struct  nim_chatroom::ChatRoomNotification
 聊天室通知 More...
 
struct  nim_chatroom::ChatRoomQueueOfferOption
 聊天室麦序添加、更新选项 More...
 
struct  nim_chatroom::ChatRoomQueueChangedNotification
 聊天室队列通知内容 More...
 
struct  nim_chatroom::ChatRoomQueueBatchChangedNotification
 通知麦序队列中有批量变更,发生在元素提交者离开聊天室或者从聊天室异常掉线时 More...
 
struct  nim_chatroom::ChatRoomMessageSetting
 聊天室消息属性设置 More...
 
struct  nim_chatroom::ChatRoomMessage
 聊天室消息 More...
 
struct  nim_chatroom::ChatRoomGetMembersParameters
 获取聊天室成员参数 More...
 
struct  nim_chatroom::ChatRoomGetMembersByTagParameters
 根据 tag 获取聊天室成员参数 More...
 
struct  nim_chatroom::ChatRoomGetMsgHistoryParameters
 获取聊天室消息历史参数 More...
 
struct  nim_chatroom::ChatRoomGetMsgHistoryByTagsParameters
 
struct  nim_chatroom::ChatRoomSetMemberAttributeParameters
 设置聊天室成员身份标识参数 More...
 
struct  nim_chatroom::ChatRoomMemberInfo
 聊天室成员信息 More...
 
struct  nim_chatroom::ChatRoomQueueElement
 聊天室麦序队列元素 More...
 
struct  nim_chatroom::ChatRoomUpdateTagsInfo
 聊天室更新标签 More...
 
struct  nim_chatroom::NIMChatRoomExitReasonInfo
 聊天室退出时的信息 More...
 
struct  nim_chatroom::RobotInfo
 机器人信息 More...
 
struct  nim_chatroom::ChatRoomBatchMembers
 聊天室批量更新成员 More...
 

Namespaces

namespace  nim_chatroom
 聊天室
 

Typedefs

typedef std::list< ChatRoomQueueElement > nim_chatroom::ChatRoomQueue
 聊天室麦序队列
 
typedef std::list< RobotInfo > nim_chatroom::RobotInfos
 机器人信息
 
typedef ChatRoomQueueElement nim_chatroom::ChatRoomMember
 

Functions

bool nim_chatroom::operator== (const NIMChatRoomExitReasonInfo &info, NIMChatRoomExitReason code)
 
bool nim_chatroom::ParseChatRoomEnterCallbackResultInfo (const std::string &result, ChatRoomInfo &room_info, ChatRoomMemberInfo &my_info)
 解析聊天室登录结果 More...
 
bool nim_chatroom::ParseChatRoomMemberInfos (const std::string &infos_json_str, std::list< ChatRoomMemberInfo > &infos)
 解析聊天室成员信息 More...
 
bool nim_chatroom::ParseChatRoomMsgs (const std::string &msgs_json_str, std::list< ChatRoomMessage > &msgs)
 解析聊天室成员信息 More...
 
bool nim_chatroom::ParseRobotInfosStringToRobotInfos (const std::string &infos_json, RobotInfos &infos)
 解析机器人信息 More...
 
bool nim_chatroom::ParseRobotInfoStringToRobotInfo (const std::string &info_json, RobotInfo &info)
 解析机器人信息 More...
 
bool nim_chatroom::ParseBatchInfosStringToNotMembers (const std::string &infos_json, std::list< std::string > &lst_members)
 解析成员列表 More...
 

Detailed Description

聊天室SDK辅助方法

Date
2015/12/29