Coconut Framework  beta
Classes | Functions
CNTextLine.h File Reference

Define CNTextLine class. More...

#include "CNTextElement.h"
#include "CNTextString.h"

Go to the source code of this file.

Classes

struct  CNTextLine
 

Functions

struct CNTextLineCNAllocateTextLine (struct CNTextSection *parent, const struct CNTextString *line, struct CNResource *resource)
 Allocate text line. More...
 
static struct CNObjectCNObjectOfTextLine (struct CNTextLine *src)
 Get super class of text line. More...
 
static void CNRetainTextLine (struct CNTextLine *dst)
 Retain the reference count. More...
 
static void CNReleaseTextLine (struct CNTextLine *dst)
 Release the reference count. More...
 

Detailed Description

Define CNTextLine class.

Copyright
Copyright (C) 2013 Steel Wheels Project

Function Documentation

struct CNTextLine* CNAllocateTextLine ( struct CNTextSection parent,
const struct CNTextString line,
struct CNResource *  resource 
)

Allocate text line.

Returns
Text line
Parameters
parentParent section of this line
lineSource text line
resourceResource to allocate the section
static struct CNObject* CNObjectOfTextLine ( struct CNTextLine src)
static

Get super class of text line.

Returns
CNObject object
Parameters
srcSource text section

References CNObjectOfTextElement(), and CNTextLine::superClass.

static void CNRetainTextLine ( struct CNTextLine dst)
inlinestatic

Retain the reference count.

Parameters
dstDestination text line

References CNRetainTextElement(), and CNTextLine::superClass.

static void CNReleaseTextLine ( struct CNTextLine dst)
inlinestatic

Release the reference count.

Parameters
dstDestination text line

References CNReleaseTextElement(), and CNTextLine::superClass.