Skip to content

File strings.hh

FileList > ase > strings.hh

  • #include <ase/cxxaux.hh>
  • #include <ase/formatter.hh>
  • #include <cstring>

Namespaces

Type Name
namespace Ase
The Anklang C++ API namespace.

Classes

Type Name
class Strings
Convenience Constructor for StringSeq or std::vector<std::string>

Macros

Type Name
define ASE_CQUOTE (str) (Ase::string_to_cquote (str).c_str())
define ASE_STRING_SET_ASCII_ALNUM "0123456789" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz"
define ASE_STRING_SET_LOWER_ALNUM "0123456789" "abcdefghijklmnopqrstuvwxyz"
define ASE_STRING_VECTOR_FROM_ARRAY (ConstCharArray)

Macro Definition Documentation

define ASE_CQUOTE

#define ASE_CQUOTE (
    str
) ( Ase::string_to_cquote (str).c_str())

define ASE_STRING_SET_ASCII_ALNUM

#define ASE_STRING_SET_ASCII_ALNUM "0123456789" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz"

define ASE_STRING_SET_LOWER_ALNUM

#define ASE_STRING_SET_LOWER_ALNUM "0123456789" "abcdefghijklmnopqrstuvwxyz"

define ASE_STRING_VECTOR_FROM_ARRAY

#define ASE_STRING_VECTOR_FROM_ARRAY (
    ConstCharArray
) ({ \ Ase::StringS __a;                                           \
  const Ase::uint64 __l = ASE_ARRAY_SIZE (ConstCharArray);    \
  for ( Ase::uint64 __ai = 0; __ai < __l; __ai++)                   \
    __a.push_back (ConstCharArray[__ai]);                               \
  __a; })


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/strings.hh