⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ckmessageset.h

📁 DES加密解密算法,西望大家共享.参考学习
💻 H
字号:
// CkMessageSet.h: interface for the (IMAP) CkMessageSet class.
//
//////////////////////////////////////////////////////////////////////

#ifndef _CKMESSAGESET_H
#define _CKMESSAGESET_H

#pragma once

class CkByteData;
#include "CkString.h"
#include "CkObject.h"

/*
    IMPORTANT: Objects returned by methods as non-const pointers must be deleted
    by the calling application. 

  */

// Contains a set of IMAP message IDs.  The message set can contain either
// IMAP sequence numbers, or IMAP UIDs.
// CLASS: CkMessageSet
class CkMessageSet  : public CkObject
{
    public:
	CkMessageSet();
	virtual ~CkMessageSet();

	// BEGIN PUBLIC INTERFACE

	// Return the complete message set serialized to a string.
	void ToString(CkString &str);

	// Return true if the message set contains the id.
	bool ContainsId(long id);

	// Remove an id from the message set.
	void RemoveId(long id);

	// Insert an id into the message set (duplicates are not inserted)
	void InsertId(long id);


	// Get the Nth id.  Indexing begins at 0.
	long GetId(long index);

	// Return the number of ids in the set.
	long get_Count(void);

	// Return true if this message set contains UIDs rather than sequence numbers.
	//bool HasUids(void);
	void put_HasUids(bool value);
	bool get_HasUids(void) const;

	CkString m_resultString;
	const char *toString(void);

	// END PUBLIC INTERFACE

    // For internal use only.
    private:
	void *m_impl;

	// Don't allow assignment or copying these objects.
	CkMessageSet(const CkMessageSet &);
	CkMessageSet &operator=(const CkMessageSet &);
	CkMessageSet(void *impl);

    public:
	void *getImpl(void) const { return m_impl; } 
	void inject(void *impl);


};


#endif


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -