LibDocument

image-alt

Document and Trie Processing.


Version: 0.1.1

Document entity: a concrete piece of data that is part of a document. More...

#include <document.h>

Public Member Functions

 TAILQ_ENTRY (ldoc_ent_t) ldoc_ent_entries
 

Public Attributes

ldoc_nde_tprnt
 
ldoc_content_t tpe
 
ldoc_pld_t pld
 

Detailed Description

Document entity: a concrete piece of data that is part of a document.

A document entity is an actual representation of tangible data in a document. The entity is typed (tpe); applicable types are defined by ldoc_content_t. Data is accessed as payload (pld), whose data type depends on the entity type.

Example: a primary heading is encoded as tpe set to ldoc_content_t.H1 and ldoc_set_t.str payload set to "Heading Example".

Member Function Documentation

ldoc_ent_t::TAILQ_ENTRY (ldoc_ent_t )

Internal list-pointer.

Member Data Documentation

ldoc_pld_t ldoc_ent_t::pld

Entity payload (datum).

ldoc_nde_t* ldoc_ent_t::prnt

Parent node.

ldoc_content_t ldoc_ent_t::tpe

Entity content type.


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