mlt 0.7.6
Data Structures | Typedefs | Functions

mlt_tokeniser.h File Reference

string tokeniser More...

Go to the source code of this file.

Data Structures

struct  mlt_tokeniser
 Tokeniser class. More...

Typedefs

typedef struct mlt_tokeniser mlt_tokeniser_t

Functions

void mlt_tokeniser_close (mlt_tokeniser tokeniser)
 Close the tokeniser.
int mlt_tokeniser_count (mlt_tokeniser tokeniser)
 Get the number of tokens.
char * mlt_tokeniser_get_input (mlt_tokeniser tokeniser)
 Get the original input.
char * mlt_tokeniser_get_string (mlt_tokeniser tokeniser, int index)
 Get a token as a string.
mlt_tokeniser mlt_tokeniser_init ()
 Initialise a tokeniser.
int mlt_tokeniser_parse_new (mlt_tokeniser tokeniser, char *text, const char *delimiter)
 Parse a string by splitting on the delimiter provided.

Detailed Description

string tokeniser

See also:
mlt_tokeniser_s

Copyright (C) 2002-2009 Ushodaya Enterprises Limited

Author:
Charles Yates <charles.yates@pandora.be>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Typedef Documentation


Function Documentation

void mlt_tokeniser_close ( mlt_tokeniser  tokeniser)

Close the tokeniser.

int mlt_tokeniser_count ( mlt_tokeniser  tokeniser)

Get the number of tokens.

char* mlt_tokeniser_get_input ( mlt_tokeniser  tokeniser)

Get the original input.

char* mlt_tokeniser_get_string ( mlt_tokeniser  tokeniser,
int  index 
)

Get a token as a string.

mlt_tokeniser mlt_tokeniser_init ( )

Initialise a tokeniser.

int mlt_tokeniser_parse_new ( mlt_tokeniser  tokeniser,
char *  text,
const char *  delimiter 
)

Parse a string by splitting on the delimiter provided.

TWiki Appliance - Powered by TurnKey Linux