Navigation

Operators and Keywords

Function List:

C++ API

ov-ch-mat.cc File Reference

#include <iostream>
#include "lo-ieee.h"
#include "mx-base.h"
#include "ov-base.h"
#include "ov-base-mat.h"
#include "ov-base-mat.cc"
#include "ov-ch-mat.h"
#include "gripes.h"
#include "pr-output.h"

Include dependency graph for ov-ch-mat.cc:


Defines

#define MACRO_WRAPPER(FCN, CTYPE_FCN)   static int x ## FCN (int c) { return CTYPE_FCN (c); }
#define STRING_MAPPER(FCN, AMAP, CTYPE_FCN)
#define TOSTRING_MAPPER(FCN, AMAP, CTYPE_FCN)

Define Documentation

#define MACRO_WRAPPER ( FCN,
CTYPE_FCN   )     static int x ## FCN (int c) { return CTYPE_FCN (c); }

#define STRING_MAPPER ( FCN,
AMAP,
CTYPE_FCN   ) 

Value:

MACRO_WRAPPER (FCN, CTYPE_FCN) \
 \
  octave_value \
  octave_char_matrix::FCN (void) const \
  { \
    static charNDArray::mapper smap = x ## FCN; \
    return matrix.AMAP (smap);  \
  }

#define TOSTRING_MAPPER ( FCN,
AMAP,
CTYPE_FCN   ) 

Value:

MACRO_WRAPPER (FCN, CTYPE_FCN) \
 \
  octave_value \
  octave_char_matrix::FCN (void) const \
  { \
    static charNDArray::mapper smap = x ## FCN; \
    return octave_value (matrix.AMAP (smap), is_sq_string () ? '\'' : '"'); \
  }