Public Types | Static Public Member Functions | Private Member Functions

ctkUtils Class Reference

#include <Libs/Core/ctkUtils.h>

List of all members.

Public Types

typedef ctkUtils Self

Static Public Member Functions

static void qListToSTLVector (const QStringList &list, std::vector< char * > &vector)
static void qListToSTLVector (const QStringList &list, std::vector< std::string > &vector)
static void stlVectorToQList (const std::vector< std::string > &vector, QStringList &list)

Private Member Functions

 ctkUtils ()
 Not implemented.
virtual ~ctkUtils ()

Detailed Description

Definition at line 32 of file ctkUtils.h.


Member Typedef Documentation

Definition at line 36 of file ctkUtils.h.


Constructor & Destructor Documentation

ctkUtils::ctkUtils (  )  [inline, private]

Not implemented.

Definition at line 53 of file ctkUtils.h.

virtual ctkUtils::~ctkUtils (  )  [inline, private, virtual]

Definition at line 54 of file ctkUtils.h.


Member Function Documentation

void ctkUtils::qListToSTLVector ( const QStringList &  list,
std::vector< char * > &  vector 
) [static]

Convert a QStringList to Vector of char* Caller will be responsible to delete the content of the vector

Definition at line 27 of file ctkUtils.cpp.

void ctkUtils::qListToSTLVector ( const QStringList &  list,
std::vector< std::string > &  vector 
) [static]

Convert a QStringList to a Vector of string

Definition at line 55 of file ctkUtils.cpp.

void ctkUtils::stlVectorToQList ( const std::vector< std::string > &  vector,
QStringList &  list 
) [static]

Convert a Vector of string to QStringList

Definition at line 64 of file ctkUtils.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines