MLT  7.24.0
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. More...
 
int mlt_tokeniser_count (mlt_tokeniser tokeniser)
 Get the number of tokens. More...
 
char * mlt_tokeniser_get_input (mlt_tokeniser tokeniser)
 Get the original input. More...
 
char * mlt_tokeniser_get_string (mlt_tokeniser tokeniser, int index)
 Get a token as a string. More...
 
mlt_tokeniser mlt_tokeniser_init ()
 Initialise a tokeniser. More...
 
int mlt_tokeniser_parse_new (mlt_tokeniser tokeniser, char *text, const char *delimiter)
 Parse a string by splitting on the delimiter provided. More...
 

Detailed Description

string tokeniser

See also
mlt_tokeniser_s

Copyright (C) 2002-2014 Meltytech, LLC

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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Typedef Documentation

◆ mlt_tokeniser_t

Function Documentation

◆ mlt_tokeniser_close()

void mlt_tokeniser_close ( mlt_tokeniser  tokeniser)

Close the tokeniser.

◆ mlt_tokeniser_count()

int mlt_tokeniser_count ( mlt_tokeniser  tokeniser)

Get the number of tokens.

◆ mlt_tokeniser_get_input()

char* mlt_tokeniser_get_input ( mlt_tokeniser  tokeniser)

Get the original input.

◆ mlt_tokeniser_get_string()

char* mlt_tokeniser_get_string ( mlt_tokeniser  tokeniser,
int  index 
)

Get a token as a string.

◆ mlt_tokeniser_init()

mlt_tokeniser mlt_tokeniser_init ( )

Initialise a tokeniser.

◆ mlt_tokeniser_parse_new()

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

Parse a string by splitting on the delimiter provided.