ctk Namespace Reference

Functions

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

Function Documentation

void ctk::qListToSTLVector ( const QStringList &  list,
std::vector< std::string > &  vector 
)

Convert a QStringList to a Vector of string

Definition at line 55 of file ctkUtils.cpp.

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

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 ctk::stlVectorToQList ( const std::vector< std::string > &  vector,
QStringList &  list 
)

Convert a Vector of string to QStringList

Definition at line 64 of file ctkUtils.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 21 May 2010 for CTK by  doxygen 1.6.1