SoDetailList - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 4.0.0
Note : Coin

NAMESoDetailList − The SoDetailList class is a container for pointers to SoDetail objects​.

SYNOPSIS
#include <Inventor/lists/SoDetailList​.h> Inherits SbPList​.

Public Member FunctionsSoDetailList (void)
SoDetailList (const int sizehint)
SoDetailList (const SoDetailList &l)
~SoDetailList ()
void append (SoDetail *detail)
void insert (SoDetail *detail, const int insertbefore)
void truncate (const int length, const int fit=0)
void copy (const SoDetailList &l)
SoDetailList & operator= (const SoDetailList &l)
SoDetail * operator[] (const int idx) const
void set (const int index, SoDetail *item)

Additional Inherited Members

Detailed DescriptionThe SoDetailList class is a container for pointers to SoDetail objects​. This list class will delete the details when destructed/truncated, or when a detail in the list is replaced by another detail​. The caller is responsible for allocating the details passed to the list, but should not deallocate them since this will be handled by the list​. See also SbPList

Constructor & Destructor Documentation

SoDetailList::SoDetailList (void) [inline]Default constructor​.

SoDetailList::SoDetailList (const int sizehint) [inline]This constructor initializes the internal allocated size for the list to sizehint​. Note that the list will still initially contain zero items​. See also SbList::SbList(const int sizehint)

SoDetailList::SoDetailList (const SoDetailList & l)Copy constructor​.

SoDetailList::~SoDetailList ()Destructor​.

Member Function Documentation

void SoDetailList::truncate (const int length, const int fit = 0)Overridden to delete truncated items​.

void SoDetailList::copy (const SoDetailList & l)Overridden to copy items, not just pointers​.

SoDetail * SoDetailList::operator[] (const int idx) const [inline]Returns element at idx​. Will automatically expand the size of the internal array if idx is outside the current bounds of the list​. The values of any additional pointers are then set to NULL​.

void SoDetailList::set (const int idx, SoDetail * detail)Overridden to delete old item​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   13,989 byte
man-SoDetailList.3coin4Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 201,350
Visitor ID   :     :  
Visitor IP   :   3.135.184.124   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.