jem_defs.hpp

来自「一个智能指针实现的例子,非常精辟,可直接移植」· HPP 代码 · 共 24 行

HPP
24
字号

#ifndef __JEM_DEFS_H__
#define __JEM_DEFS_H__

#ifndef __cplusplus
#error "This is a C++ header file; it requires C++ to compile."
#endif

/**  
  \file jem_defs.hpp
  \brief Contains JemBaseObject class and JemSmartPtr template class definition
       The jem_defs.hpp header file contains JemBaseObject class and  JemSmartPtr \n
       template class definition. \n
       This is the utility definition for the Dmt C++ API. It defineds Basic types as byte and boolean.\n
       Also some standard collection helper class as Date that are used in the API.\n
       The <b>JemSmartPtr</b> class is a Smart pointer; works with classes derived from JemBaseObject. \n
       The Smart pointer class keeps tracking counter references to the object and deletes it  (via "DecRef" method) \n
       if no one longer keeps a pointer to this object.\n
       The <b>JemBaseObject</b> class  is a base object for any ref-counted object.


                                   Template Version 1.3                    Copyright 

⌨️ 快捷键说明

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