Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
Agiddisc_s Struct Reference

object ID allocator discipline More...

#include <cgraph.h>

Data Fields

void *(* open )(Agraph_t *g, Agdisc_t *)
 
long(* map )(void *state, int objtype, char *str, IDTYPE *id, int createflag)
 
long(* alloc )(void *state, int objtype, IDTYPE id)
 
void(* free )(void *state, int objtype, IDTYPE id)
 
char *(* print )(void *state, int objtype, IDTYPE id)
 
void(* close )(void *state)
 
void(* idregister )(void *state, int objtype, void *obj)
 

Detailed Description

An ID allocator discipline allows a client to control assignment of IDs (uninterpreted integer values) to objects, and possibly how they are mapped to and from strings. object ID allocator

Definition at line 316 of file cgraph.h.

Field Documentation

◆ alloc

long(* Agiddisc_s::alloc) (void *state, int objtype, IDTYPE id)

Definition at line 319 of file cgraph.h.

◆ close

void(* Agiddisc_s::close) (void *state)

Definition at line 322 of file cgraph.h.

◆ free

void(* Agiddisc_s::free) (void *state, int objtype, IDTYPE id)

Definition at line 320 of file cgraph.h.

◆ idregister

void(* Agiddisc_s::idregister) (void *state, int objtype, void *obj)

Definition at line 323 of file cgraph.h.

◆ map

long(* Agiddisc_s::map) (void *state, int objtype, char *str, IDTYPE *id, int createflag)

Definition at line 318 of file cgraph.h.

Referenced by agmapnametoid().

◆ open

void *(* Agiddisc_s::open) (Agraph_t *g, Agdisc_t *)

Definition at line 317 of file cgraph.h.

Referenced by agopen().

◆ print

char *(* Agiddisc_s::print) (void *state, int objtype, IDTYPE id)

Definition at line 321 of file cgraph.h.


The documentation for this struct was generated from the following file: