GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SBPLIST (3)

NAME

SbPList — list of generic (void *) pointers

CONTENTS

Inherits From
Synopsis
Description
Methods
File Format/defaults

INHERITS FROM

SbPList

SYNOPSIS

#include <Inventor/SbPList.h>

Methods from class SbPList:

       
                    
                     SbPList()    
   
                    
                     SbPList(const SbPList &pl)    
   
                    
                     SbPList(int initSize)    
   
                    
                     ~SbPList()    
void    
                    
void                 append(void * ptr)    
int    
                    
int                  find(const void *ptr) const    
void    
                    
void                 insert(void *ptr, int addBefore)    
void    
                    
void                 remove(int which)    
int    
                    
int                  getLength() const    
void    
                    
void                 truncate(int start)    
void    
                    
void                 copy(const SbPList &pl)    
SbPList &    
                    
SbPList &            operator =(const SbPList &pl)    
void *&    
                    
void *&              operator [](int i) const    
int    
                    
int                  operator ==(const SbPList &pl) const    
int    
                    
int                  operator !=(const SbPList &pl) const

DESCRIPTION

This class manages a dynamic list of generic void * pointers. This class allows random access, insertion, and removal.

METHODS

       
                    
                     SbPList()    
   
                    
                     SbPList(const SbPList &pl)    
   
                    
                     SbPList(int initSize)    
   
                    
                     ~SbPList()
Constructors and destructor. initSize specifies an initial size for the list, which is useful as an optimization if you can estimate the length of the list before you construct it. If another SbPList is given, it returns a copy of that list.

    void    
                    
void                 append(void * ptr)
Adds given pointer to end of list.

    int    
                    
int                  find(const void *ptr) const
Returns index of given pointer in list, or -1 if not found.

    void    
                    
void                 insert(void *ptr, int addBefore)
Inserts given pointer in list before pointer with given index.

    void    
                    
void                 remove(int which)
Removes pointer with given index.

    int    
                    
int                  getLength() const
Returns number of pointers in list.

    void    
                    
void                 truncate(int start)
Removes all pointers after one with given index, inclusive.

    void    
                    
void                 copy(const SbPList &pl)
Copy a list.

    SbPList &    
                    
SbPList &            operator =(const SbPList &pl)
Assignment operator; copies list into this list.

    void *&    
                    
void *&              operator [](int i) const
Returns pointer with given index.

    int    
                    
int                  operator ==(const SbPList &pl) const    
int    
                    
int                  operator !=(const SbPList &pl) const
Equality and inequality operators.

FILE FORMAT/DEFAULTS

Search for    or go to Top of page |  Section 3 |  Main Index


SBPLIST(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.