📄 classtreenode.cpp
字号:
// lassTreeNode.cpp: implementation of the ClassTreeNode class.
//
//////////////////////////////////////////////////////////////////////
#include "ClassTreeNode.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
ClassTreeNode::ClassTreeNode()
{
pParent=NULL;
pFirstChild=NULL;
pNextSibling=NULL;
nDimOfVector=-1;//if the node is not trained ,set nDimOfVector -1
pTFArray=NULL;
}
ClassTreeNode::ClassTreeNode(int nDimOfVector,CString strKindName)
{
pParent=NULL;
pFirstChild=NULL;
pNextSibling=NULL;
this->nDimOfVector=nDimOfVector;//if the node is not trained ,set nDimOfVector -1
this->KindName=strKindName;
pTFArray=NULL;
}
ClassTreeNode::~ClassTreeNode()
{
if(pTFArray!=NULL)
delete[] pTFArray;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -