Back to index

plt-scheme  4.2.1
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
wxNode Class Reference

#include <wx_list.h>

Inheritance diagram for wxNode:
Inheritance graph
[legend]
Collaboration diagram for wxNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxNode (wxNode *last_one=NULL, wxNode *next_one=NULL, wxObject *object=NULL)
 wxNode (wxNode *last_one, wxNode *next_one, wxObject *object, long the_key)
 wxNode (wxNode *last_one, wxNode *next_one, wxObject *object, const char *the_key)
 wxNode (wxNode *last_one, wxNode *next_one, wxObject *object, void *the_key)
void Kill (wxList *list)
wxNodeNext (void)
wxNodePrevious (void)
wxObjectData (void)
void SetData (wxObject *the_data)
void DataGCIgnored (void)
voidoperator new (size_t size)
voidoperator new (size_t size, GCPlacement gcp)
voidoperator new (size_t size, void *p)
voidoperator new (size_t size)
voidoperator new (size_t size, GCPlacement gcp)
void operator delete (void *obj)
void operator delete (void *, void *)
void operator delete (void *obj)
voidoperator new[] (size_t size)
voidoperator new[] (size_t size, GCPlacement gcp)
voidoperator new[] (size_t size, void *p)
void operator delete[] (void *obj)
void operator delete[] (void *, void *)

Public Attributes

long integer_key
char * string_key

Private Member Functions

void Setup (wxNode *last_one, wxNode *next_one, wxObject *object)

Private Attributes

wxObjectdata
wxNodenext
wxNodeprevious

Detailed Description

Definition at line 37 of file wx_list.h.


Constructor & Destructor Documentation

wxNode::wxNode ( wxNode last_one = NULL,
wxNode next_one = NULL,
wxObject object = NULL 
)

Definition at line 47 of file wb_list.cxx.

{
  Setup(last_one, next_one, object);
}

Here is the call graph for this function:

wxNode::wxNode ( wxNode last_one,
wxNode next_one,
wxObject object,
long  the_key 
)

Definition at line 54 of file wb_list.cxx.

{
  Setup(last_one, next_one, object);
  integer_key = the_key;
}

Here is the call graph for this function:

wxNode::wxNode ( wxNode last_one,
wxNode next_one,
wxObject object,
const char *  the_key 
)

Definition at line 61 of file wb_list.cxx.

{
  Setup(last_one, next_one, object);
  string_key = copystring(the_key);
}

Here is the call graph for this function:

wxNode::wxNode ( wxNode last_one,
wxNode next_one,
wxObject object,
void the_key 
)

Definition at line 68 of file wb_list.cxx.

{
  Setup(last_one, next_one, object);
  string_key = (char *)the_key;
}

Here is the call graph for this function:


Member Function Documentation

wxObject* wxNode::Data ( void  ) [inline]

Definition at line 69 of file wx_list.h.

{ return data; }

Here is the caller graph for this function:

Definition at line 72 of file wx_list.h.

{ WXGC_IGNORE(this, data); }
void wxNode::Kill ( wxList list)

Definition at line 76 of file wb_list.cxx.

{
  if (list)
    list->n--;

#ifndef wx_mac
  if (list && list->destroy_data)
    DELETE_OBJ data;
#endif

  // Make next node point back to the previous node from here
  if (next)
    next->previous = previous;
  else if (list)
    // If there's a new end of list (deleting the last one)
    // make sure the list knows about it.
    list->last_node = previous;

  // Make the previous node point to the next node from here
  if (previous)
    previous->next = next;

  // Or if no previous node (start of list), make sure list points at
  // the next node which becomes the first!.
  else if (list)
    list->first_node = next;

  next = previous = NULL;
}

Here is the caller graph for this function:

wxNode* wxNode::Next ( void  ) [inline]

Definition at line 67 of file wx_list.h.

{ return next; }

Here is the caller graph for this function:

void gc::operator delete ( void obj) [inline, inherited]
void gc::operator delete ( void obj) [inline, inherited]

Definition at line 287 of file gc_cpp.h.

                                           {
    GC_FREE( obj );}

Here is the caller graph for this function:

void gc::operator delete ( void ,
void  
) [inline, inherited]

Definition at line 291 of file gc_cpp.h.

{}
void gc::operator delete[] ( void obj) [inline, inherited]

Definition at line 305 of file gc_cpp.h.

                                             {
    gc::operator delete( obj );}

Here is the call graph for this function:

void gc::operator delete[] ( void ,
void  
) [inline, inherited]

Definition at line 309 of file gc_cpp.h.

{}
void* gc::operator new ( size_t  size) [inline, inherited]
void* gc::operator new ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]
void * gc::operator new ( size_t  size) [inline, inherited]

Definition at line 273 of file gc_cpp.h.

                                           {
    return GC_MALLOC( size );}

Here is the caller graph for this function:

void * gc::operator new ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]

Definition at line 276 of file gc_cpp.h.

                                                            {
    if (gcp == UseGC) 
        return GC_MALLOC( size );
    else if (gcp == PointerFreeGC)
       return GC_MALLOC_ATOMIC( size );
    else
        return GC_MALLOC_UNCOLLECTABLE( size );}
void * gc::operator new ( size_t  size,
void p 
) [inline, inherited]

Definition at line 284 of file gc_cpp.h.

                                                    {
    return p;}
void * gc::operator new[] ( size_t  size) [inline, inherited]

Definition at line 296 of file gc_cpp.h.

                                             {
    return gc::operator new( size );}

Here is the call graph for this function:

void * gc::operator new[] ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]

Definition at line 299 of file gc_cpp.h.

                                                              {
    return gc::operator new( size, gcp );}

Here is the call graph for this function:

void * gc::operator new[] ( size_t  size,
void p 
) [inline, inherited]

Definition at line 302 of file gc_cpp.h.

                                                      {
    return p;}
wxNode* wxNode::Previous ( void  ) [inline]

Definition at line 68 of file wx_list.h.

{ return previous; }

Here is the caller graph for this function:

void wxNode::SetData ( wxObject the_data) [inline]

Definition at line 70 of file wx_list.h.

{ data = the_data; }
void wxNode::Setup ( wxNode last_one,
wxNode next_one,
wxObject object 
) [private]

Definition at line 31 of file wb_list.cxx.

{
  data = object;
  previous = last_one;
  next = next_one;
  integer_key = 0;
  string_key = NULL;

  if (previous)
    previous->next = this;

  if (next)
    next->previous = this;  
}

Here is the caller graph for this function:


Member Data Documentation

wxObject* wxNode::data [private]

Definition at line 44 of file wx_list.h.

Definition at line 53 of file wx_list.h.

wxNode* wxNode::next [private]

Definition at line 45 of file wx_list.h.

Definition at line 46 of file wx_list.h.

Definition at line 54 of file wx_list.h.


The documentation for this class was generated from the following files: