|
of_count
|
|
Full name
|
pfc_n_cst_tree.of_count
|
Access
|
public
|
Extend of
|
long
|
Return value
|
long
|
Prototype
|
public function long of_count()
|
Name
|
Datatype
|
ln_node
|
n_cst_treenode[]
|
public function long of_count ();//////////////////////////////////////////////////////////////////////////////
//
// Function: of_count
//
// Access: public
//
// Arguments : None
//
// Returns: long
// the number of nodes in the list
//
// Description:
// Counts the number of nodes in the list. Rather than reinvent the
// traversal process we just call the of_list function which returns the
// number of nodes in the tree.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
n_cst_treenode ln_node[]
setpointer(hourglass!)
return of_get(ln_node)
end function