cocos2dx/cocoa
sssss年
这个作者很懒,什么都没留下…
展开
-
CCAutoreleasePool(CCAutoreleasePool(自动释放池) CCPoolManager(成员:释放池数组 当前释放池等))
#ifndef __AUTORELEASEPOOL_H__#define __AUTORELEASEPOOL_H__#include "CCObject.h"#include "CCArray.h"NS_CC_BEGIN/** * @addtogroup base_nodes * @{ */class CC_DLL原创 2014-05-23 10:29:46 · 936 阅读 · 0 评论 -
CCArray(c+数组,createWithContentsOfFile)
#ifndef __CCARRAY_H__#define __CCARRAY_H__#include "support/data_support/ccCArray.h"/** * @addtogroup data_structures * @{ *//** @def CCARRAY_FOREACHA原创 2014-05-23 10:31:02 · 920 阅读 · 0 评论 -
CCScriptEventDispatcher(quick扩展类 。用于lua 下的CCNode 事件分发)
#ifndef __CCSCRIPT_EVENT_DISPATCHER_H__#define __CCSCRIPT_EVENT_DISPATCHER_H__#include #include #include "CCObject.h"using namespace std;NS_CC_BEGIN原创 2014-12-15 22:27:08 · 865 阅读 · 0 评论 -
CCGeometry(几何学。CCPoint两向量夹角、投影向量、以特定轴+角度旋转。CCSize-大小概念。CCRect-成员是前2.函数:是否包含一个ccp,是否和另一rect相交。宏xMake)
#ifndef __CCGEMETRY_H__#define __CCGEMETRY_H__#include "platform/CCPlatformMacros.h"#include "CCObject.h"#include NS_CC_BEGIN/** * @addtogroup data_struct原创 2014-05-22 21:14:01 · 1431 阅读 · 0 评论 -
CCZone(...)
#ifndef __CC_ZONE_H__#define __CC_ZONE_H__#include "platform/CCPlatformMacros.h"#include NS_CC_BEGIN/** * @addtogroup data_structures * @{ */class CCObject;原创 2014-05-22 21:04:03 · 770 阅读 · 0 评论 -
CCDataVisitor(数据访问器 子类:CCPrettyPrinter _indentLevel-用于数组; string _indentStr; _result-指针字符串)
#ifndef __CCDATAVISITOR_H__#define __CCDATAVISITOR_H__#include "platform/CCPlatformMacros.h"#include NS_CC_BEGINclass CCObject;class CCBool;class CCInteger;class CCFloat;class CCDoub原创 2014-05-23 10:29:30 · 1156 阅读 · 0 评论 -
CCAffineTransform(仿射变换 :点乘 差乘 单位化。。。)
#ifndef __COCOA_CGAFFINETRANSFORM_H__#define __COCOA_CGAFFINETRANSFORM_H__#include "CCGeometry.h"#include "platform/CCPlatformMacros.h"NS_CC_BEGINstruct CCAffineTransform {原创 2014-05-23 10:31:15 · 1268 阅读 · 0 评论 -
CCNS(函数库CCPointFromString CCRectFromString CCSizeFromString 参数是字符串"{x,y}"、{{x,y},{w, h}}、"{w, h}")
#ifndef __PLATFOMR_CCNS_H__#define __PLATFOMR_CCNS_H__#include "CCGeometry.h"NS_CC_BEGIN/** * @addtogroup data_structures * @{ *//**@brief Returns a Core Grap原创 2014-05-22 21:13:42 · 1388 阅读 · 0 评论 -
CCDictionary(封装了哈希表.可以加入两种元素:键为整型或字符串值为ccobject.CCDICT_FOREACH objectForKey allKeysForObject setObj)
#ifndef __CCDICTIONARY_H__#define __CCDICTIONARY_H__#include "support/data_support/uthash.h"#include "CCObject.h"#include "CCArray.h"#include "CCString.h"NS_CC_BEGI原创 2014-05-23 10:29:19 · 820 阅读 · 0 评论 -
CCSet(内部std::set实现 成员std::set<CCObject *> *m_pSet count addObject containsObject begin anyObject)
#ifndef __CC_SET_H__#define __CC_SET_H__#include #include "CCObject.h"NS_CC_BEGIN/** * @addtogroup data_structures * @{ */typedef std::set::iterator CCSetIter原创 2014-05-22 21:13:02 · 1194 阅读 · 0 评论 -
CCObject(m_uReference(被引用次数) m_uAutoReleaseCount(加入释放池次数) release retain acceptVisitor)
#ifndef __CCOBJECT_H__#define __CCOBJECT_H__#include "CCDataVisitor.h"#ifdef EMSCRIPTEN#include #endif // EMSCRIPTENNS_CC_BEGIN/** * @addtogroup base_nodes *原创 2014-05-22 21:13:18 · 876 阅读 · 0 评论 -
CCString(内部std:string 实现。 成员:std::string变量 operator= intValue createWithFormat createWithContents)
#ifndef __CCSTRING_H__#define __CCSTRING_H__#if (CC_TARGET_PLATFORM == CC_PLATFORM_BLACKBERRY)#include #endif#include #include #include #include "CCObject.h"NS_CC_B原创 2014-05-22 21:12:47 · 1791 阅读 · 0 评论