ckobjectarray.h
来自「DES加密解密算法,西望大家共享.参考学习」· C头文件 代码 · 共 54 行
H
54 行
// CkObjectArray.h: interface for the CkObjectArray class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CKOBJECTARRAY_H__10278D9D_3CD5_4AC8_A322_CE62A7DF95B6__INCLUDED_)
#define AFX_CKOBJECTARRAY_H__10278D9D_3CD5_4AC8_A322_CE62A7DF95B6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "CkString.h"
#include "CkObject.h"
// CLASS: CkObjectArray
class CkObjectArray : public CkObject
{
private:
void *m_impl;
// Don't allow implicit copying.
CkObjectArray(const CkObjectArray &a) { }
public:
CkObjectArray();
virtual ~CkObjectArray();
// BEGIN PUBLIC INTERFACE
CkObject *GetAt(int index) const;
CkObject *GetLast(void) const;
void InsertAt(int index, CkObject *obj);
void RemoveAt(int index);
// Clear the array and delete all objects contained within.
void DeleteAllObjects(void);
// Clear the array without deleting the objects.
void ClearWithoutDeleting(void);
void Append(CkObject *obj);
CkObject *Pop(void);
// Return the number of objects in the array.
int get_Size(void) const;
// END PUBLIC INTERFACE
};
#endif // !defined(AFX_CKOBJECTARRAY_H__10278D9D_3CD5_4AC8_A322_CE62A7DF95B6__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?