|
Coconut Framework
beta
|
Define CNTextSection class. More...
Go to the source code of this file.
Classes | |
| struct | CNTextSection |
Functions | |
| struct CNTextSection * | CNAllocateTextSection (struct CNTextSection *parent, const struct CNTextString *beginstr, const struct CNTextString *endstr, struct CNResource *resource) |
| Allocate text section. More... | |
| static struct CNObject * | CNObjectOfTextSection (struct CNTextSection *src) |
| Get super class of text section. More... | |
| static void | CNRetainTextSection (struct CNTextSection *dst) |
| Retain the reference count. More... | |
| static void | CNReleaseTextSection (struct CNTextSection *dst) |
| Release the reference count. More... | |
| void | CNAppendChildSectionToSection (struct CNTextSection *parent, struct CNTextSection *child) |
| Append new section as a last element of the parent section. More... | |
| void | CNAppendChildLineToSection (struct CNTextSection *parent, struct CNTextLine *child) |
| Append new line as a last element of the parent section. More... | |
Define CNTextSection class.
| struct CNTextSection* CNAllocateTextSection | ( | struct CNTextSection * | parent, |
| const struct CNTextString * | beginstr, | ||
| const struct CNTextString * | endstr, | ||
| struct CNResource * | resource | ||
| ) |
Allocate text section.
| parent | Parent section of the section. This value will be NULL. |
| beginstr | Beginning of this section |
| endstr | End of this section |
| resource | Resource to allocate the section |
|
static |
Get super class of text section.
| src | Source text section |
References CNObjectOfTextElement(), and CNTextSection::superClass.
|
inlinestatic |
Retain the reference count.
| dst | Destination text section |
References CNRetainTextElement(), and CNTextSection::superClass.
|
inlinestatic |
Release the reference count.
| dst | Destination text section |
References CNReleaseTextElement(), and CNTextSection::superClass.
| void CNAppendChildSectionToSection | ( | struct CNTextSection * | parent, |
| struct CNTextSection * | child | ||
| ) |
Append new section as a last element of the parent section.
| parent | Parent section |
| child | Source section |
| void CNAppendChildLineToSection | ( | struct CNTextSection * | parent, |
| struct CNTextLine * | child | ||
| ) |
Append new line as a last element of the parent section.
| parent | Parent section |
| child | Source section |
1.8.5