BrowseContainer Class Reference

#include <c4d_gedata.h>

详细描述

A convenience class for browsing through the items in a BaseContainer .

警告
It is not allowed to add or remove elements while browsing the container.

公共成员函数

  BrowseContainer (const BaseContainer *bc)
void  重置 (void)
Bool   GetNext ( Int32 *id, GeData **data)

Private Attributes

BaseContainer t_bc
void *  handle

构造函数 & 析构函数文档编制

◆  BrowseContainer()

BrowseContainer ( const BaseContainer bc )

Constructs the browser with the passed container.

参数
[in] bc The container to browse. The caller owns the pointed container.

成员函数文档编制

◆  Reset()

void Reset ( void  )

Resets the browser to the construction state.

◆  GetNext()

Bool GetNext ( Int32 id ,
GeData **  data  
)

Retrieves the next item in the container.

警告
It is not allowed to modify the retrieved data .
参数
[out] id Assigned the ID of the item.
[out] data Assigned the item's data. The container owns the pointed data.
返回
true if the next item was retrieved, otherwise false .

Member Data Documentation

◆  t_bc

BaseContainer * t_bc
private

◆  handle

void* handle private