/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/circogen/block.h File Reference

#include <nodelist.h>

Include dependency graph for block.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  blocklist_t
struct  block

Defines

#define CHILD(b)   ((b)->child)
#define BLK_PARENT(b)   (CHILD(b)? PARENT(CHILD(b)) : 0)
#define BLK_FLAGS(b)   ((b)->flags)
#define COALESCED_F   (1 << 0)
#define COALESCED(b)   (BLK_FLAGS(b)&COALESCED_F)
#define SET_COALESCED(b)   (BLK_FLAGS(b) |= COALESCED_F)

Typedefs

typedef block block_t

Functions

block_tmkBlock (Agraph_t *)
void freeBlock (block_t *sp)
void initBlocklist (blocklist_t *)
void appendBlock (blocklist_t *sp, block_t *sn)
void insertBlock (blocklist_t *sp, block_t *sn)


Define Documentation

#define BLK_FLAGS (  )     ((b)->flags)

Definition at line 59 of file block.h.

#define BLK_PARENT (  )     (CHILD(b)? PARENT(CHILD(b)) : 0)

Definition at line 58 of file block.h.

#define CHILD (  )     ((b)->child)

Definition at line 57 of file block.h.

Referenced by createBlocktree().

#define COALESCED (  )     (BLK_FLAGS(b)&COALESCED_F)

Definition at line 62 of file block.h.

#define COALESCED_F   (1 << 0)

Definition at line 61 of file block.h.

#define SET_COALESCED (  )     (BLK_FLAGS(b) |= COALESCED_F)

Definition at line 63 of file block.h.


Typedef Documentation

typedef struct block block_t

Definition at line 26 of file block.h.


Function Documentation

void appendBlock ( blocklist_t sp,
block_t sn 
)

Definition at line 64 of file block.c.

References blocklist_t::first, blocklist_t::last, block::next, and NULL.

Referenced by createBlocktree().

void freeBlock ( block_t sp  ) 

Definition at line 53 of file block.c.

References block::circle_list, free(), and freeNodelist().

Referenced by delGrid(), and freeBlocktree().

void initBlocklist ( blocklist_t  ) 

Definition at line 22 of file block.c.

References blocklist_t::first, blocklist_t::last, and NULL.

Referenced by createBlocktree(), and mkBlock().

void insertBlock ( blocklist_t sp,
block_t sn 
)

Definition at line 79 of file block.c.

References blocklist_t::first, blocklist_t::last, and block::next.

block_t* mkBlock ( Agraph_t  ) 

Definition at line 43 of file block.c.

References block::children, initBlocklist(), NEW, and block::sub_graph.


Generated on Mon Mar 31 19:03:53 2008 for Graphviz by  doxygen 1.5.1