List


[ libohymos | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class List
{

public:
int Number(void) ;
void* Head(void) ;
void* Tail(void) ;
void Put_head(void* obj);
void Put_tail(void* obj);
void* Get_head(void);
void* Get_tail(void);
void Top(void) ;
Boolean Look(void*& buffer);
void Clear_node(void);
void Clear(void);
void Make_array(void**& array, int& size);
void List_to_array(void**& array, int& size) ;
void Init(Clear_function cl_func);
List(Clear_function cl_func);
List(void);
~List(void);
protected:
int number;
Node* head;
Node* tail;
Node* current;
Clear_function clear_function;
}; // List

Back to the top of List


DESCRIPTION

	クラスリストは,
		・収録ノード数		: number
		・先頭ノード		: head
		・末尾ノード		: tail
		・リスト消去用関数	: clear_function
	を記憶し,
		・オブジェクトの収録機能
		・オブジェクトの取得機能
		・収録オブジェクト, ノードの消去機能
		・収録オブジェクト記憶配列の作成機能
	を定義しました.

	線形リストの連続は, ノードモデル, クラス Node により実現されています.
	リストには, オブジェクトへのポインタを void* 型にキャストしたものを収
	録します.
    

Back to the top of List


int number;

  int		number;		//; ノ−ド数

Back to the top of List


Node* head;

  Node*	head;		//; 先頭ノードへのポインタ

Back to the top of List


Node* tail;

  Node*	tail;		//; 末尾ノードへのポインタ

Back to the top of List


Node* current;

  Node*	current;	//; 検索作業用ポインタ

Back to the top of List


Clear_function clear_function;

  Clear_function clear_function;	//; 収録オブジェクト消去用関数

Back to the top of List


int Number(void) ;

  int Number(void)                   
;

Function is currently defined inline.


Back to the top of List


void* Head(void) ;

  void* Head(void)                                        ;

Function is currently defined inline.


Back to the top of List


void* Tail(void) ;

  void* Tail(void)                                        ;

Function is currently defined inline.


Back to the top of List


void Put_head(void* obj);

  void Put_head(void* obj);

Back to the top of List


void Put_tail(void* obj);

  void Put_tail(void* obj);

Back to the top of List


void* Get_head(void);

  void* Get_head(void);

Back to the top of List


void* Get_tail(void);

  void* Get_tail(void);

Back to the top of List


void Top(void) ;

  void Top(void)                    
;

Function is currently defined inline.


Back to the top of List


Boolean Look(void*& buffer);

  Boolean Look(void*& buffer);

Back to the top of List


void Clear_node(void);

  void Clear_node(void);

Back to the top of List


void Clear(void);

  void Clear(void);

Back to the top of List


void Make_array(void**& array, int& size);

  void Make_array(void**& array, int& size);

Back to the top of List


void List_to_array(void**& array, int& size) ;

  void List_to_array(void**& array, int& size)
		                                          
;

Function is currently defined inline.


Back to the top of List


void Init(Clear_function cl_func);

  void Init(Clear_function cl_func);

Back to the top of List


List(Clear_function cl_func);

  List(Clear_function cl_func);

Back to the top of List


List(void);

  List(void);

Back to the top of List


~List(void);

  virtual ~List(void);

Back to the top of List


All Members

public:
int Number(void) ;
void* Head(void) ;
void* Tail(void) ;
void Put_head(void* obj);
void Put_tail(void* obj);
void* Get_head(void);
void* Get_tail(void);
void Top(void) ;
Boolean Look(void*& buffer);
void Clear_node(void);
void Clear(void);
void Make_array(void**& array, int& size);
void List_to_array(void**& array, int& size) ;
void Init(Clear_function cl_func);
protected:
int number;
Node* head;
Node* tail;
Node* current;
Clear_function clear_function;

Back to the top of List


Ancestors

Class does not inherit from any other class.

Back to the top of List


Descendants

Class is not inherited by any others.

Back to the top of List


Generated from source by the Cocoon utilities on Sun Sep 3 22:52:03 2000 .

Report problems to jkotula@stratasys.com