Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

Get and Set Resource Properties with the c-treeDB C++ API

A number of methods are provided to enable the getting and setting of resource object properties. The table bellow describe each function:

c-treeDB Resource C++ API Function

Description

CTResource::GetType

get the resource type

CTResource::SetType

set the resource type

CTResource::GetNumber

get the resource number

CTResource::SetNumber

set the resource number

CTResource::GetName

get the resource name

CTResourceSetName

set the resource name

CTResource::GetDataLength

get the resource data buffer length in bytes

CTResource::GetData

get a pointer to resource data buffer

CTResource::SetData

set the resource data buffer

TOCIndex