AjPTree ajTreeNew ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree | RETURN | new tree; |
From EMBOSS 2.9.0
AjPTree ajTreeNewNewick ( const AjPStr newick );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPStr | newick | Input | Newick's format tree |
AjPTree | RETURN | new tree; |
From EMBOSS 6.0.0
AjPTree ajTreestrNew ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree | RETURN | new tree; |
From EMBOSS 2.9.0
AjPTree ajTreestrCopy ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Tree to be copied |
AjPTree | RETURN | New, copied, tree. |
From EMBOSS 2.9.0
AjPTree ajTreeCopy ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | tree to be copied |
AjPTree | RETURN | new copied tree. |
From EMBOSS 2.9.0
ajuint ajTreeLength ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Tree |
ajuint | RETURN | Number of nodes in tree. |
From EMBOSS 2.9.0
ajuint ajTreestrLength ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Tree |
ajuint | RETURN | Number of nodes in tree. |
From EMBOSS 2.9.0
void ajTreeFree ( AjPTree* pthis );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree* | pthis | Delete | Tree |
void | RETURN |
From EMBOSS 2.9.0
void ajTreestrFree ( AjPTree* pthis );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree* | pthis | Delete | Tree |
void | RETURN |
From EMBOSS 2.9.0
void ajTreeDel ( AjPTree* pthis );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree* | pthis | Delete | Tree |
void | RETURN |
From EMBOSS 2.9.0
void ajTreestrDel ( AjPTree* pthis );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree* | pthis | Delete | Tree |
void | RETURN |
From EMBOSS 2.9.0
void ajTreeMap ( AjPTree thys, void function apply, void* cl );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree | thys | Modify | Tree. |
void function | apply | Function | Function to call for each tree item. |
void* | cl | Modify | Standard, usually NULL. |
void | RETURN |
From EMBOSS 2.9.0
void ajTreestrMap ( AjPTree thys, void function apply, void* cl );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree | thys | Modify | Tree. |
void function | apply | Function | Function to call for each tree item. |
void* | cl | Modify | Standard, usually NULL. |
void | RETURN |
From EMBOSS 2.9.0
ajuint ajTreeToArray ( const AjPTree thys, void*** array );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Tree |
void*** | array | Output | Array of pointers to tree items. |
ajuint | RETURN | Size of array of pointers. |
From EMBOSS 2.9.0
ajuint ajTreestrToArray ( const AjPTree thys, AjPStr** array );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Tree |
AjPStr** | array | Output | Array of Strings. |
ajuint | RETURN | Size of array of pointers. |
From EMBOSS 2.9.0
void ajTreeDummyFunction ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
void | RETURN |
From EMBOSS 2.9.0
AjBool ajTreeAddData ( AjPTree thys, const AjPStr name, void* data );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree | thys | Modify | Terminal tree node. Must have no descendants |
const AjPStr | name | Input | Leaf name |
void* | data | Unknown | Data value |
AjBool | RETURN | ajTrue on success |
From EMBOSS 2.9.0
AjBool ajTreestrAddData ( AjPTree thys, const AjPStr name, AjPStr data );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree | thys | Modify | Terminal tree node. Must have no descendants |
const AjPStr | name | Input | Leaf name |
AjPStr | data | Unknown | Data value |
AjBool | RETURN | ajTrue on success |
From EMBOSS 4.1.0
AjPTree ajTreeAddNode ( AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree | thys | Modify | Parent tree node |
AjPTree | RETURN | New tree node created. It has no data value so far, so ajTreeAddNode or ajTreeAddData should be called to define data or further nodes. |
From EMBOSS 2.9.0
AjPTree ajTreeAddSubNode ( AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPTree | thys | Modify | Left tree node |
AjPTree | RETURN | New tree node created. It has no data value so far, so ajTreeAddNode or ajTreeAddData should be called to define data or further nodes. |
From EMBOSS 2.9.0
void ajTreeToNewick ( const AjPTree thys, AjPStr* Pnewick );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Tree object |
AjPStr* | Pnewick | Output | Newick format string |
void | RETURN |
From EMBOSS 6.0.0
void ajTreeTrace ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Tree object |
void | RETURN |
From EMBOSS 2.9.0
void ajTreestrTrace ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Tree object |
void | RETURN |
From EMBOSS 4.1.0
AjPTree ajTreeFollow ( const AjPTree thys, const AjPTree parent );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Current tree node |
const AjPTree | parent | Input | Parent tree node |
AjPTree | RETURN | New tree node created. It has no data value so far, so ajTreeAddNode or ajTreeAddData should be called to define data or further nodes. |
From EMBOSS 4.1.0
AjPTree ajTreeNext ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Parent tree node |
AjPTree | RETURN | New tree node created. It has no data value so far, so ajTreeAddNode or ajTreeAddData should be called to define data or further nodes. |
From EMBOSS 4.1.0
AjPTree ajTreePrev ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Parent tree node |
AjPTree | RETURN | New tree node created. It has no data value so far, so ajTreeAddNode or ajTreeAddData should be called to define data or further nodes. |
From EMBOSS 4.1.0
AjPTree ajTreeDown ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Parent tree node |
AjPTree | RETURN | New tree node created. It has no data value so far, so ajTreeAddNode or ajTreeAddData should be called to define data or further nodes. |
From EMBOSS 4.1.0
AjPTree ajTreeUp ( const AjPTree thys );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPTree | thys | Input | Child tree node |
AjPTree | RETURN | New tree node created. It has no data value so far, so ajTreeAddNode or ajTreeAddData should be called to define data or further nodes. |
From EMBOSS 4.1.0
void ajTreeExit ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
void | RETURN |
From EMBOSS 2.9.0