v4node.cpp
来自「一个用于智能手机的多媒体库适合S60 WinCE的跨平台开发库」· C++ 代码 · 共 57 行
CPP
57 行
/* V4Node.cpp Implements V4Node class*/#include "V4Node.h"#include <crtdbg.h>// ConstructorV4Node::V4Node(const u32 _NodeID, GF_Node * _node) : NodeID(_NodeID), node(_node) { _ASSERT(_node); // no NULL node}// GetID --u32 V4Node::GetID() const { return NodeID; }// GetNode --GF_Node * V4Node::GetNode() const { return node;}// IsAliveAt -- check all aparitionsbool V4Node::IsAliveAt(const u32 frame) { std::list<segment>::iterator i; for (i = lifeSpan.begin(); i != lifeSpan.end(); i++) if ( ((*i).from >= frame) && ((*i).to <= frame) ) return true; return false;}// Appearvoid V4Node::Appear(const u32 startFrame, const u32 stopFrame) { // TODO : return;}// Disappearvoid V4Node::Disappear(const u32 startFrame, const u32 stopFrame) { // TODO : return;}// GetName -- wxString V4Node::GetName() { return wxString(gf_node_get_name(node));}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?