CoMISoError.cc 312 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// (C) Copyright 2015 by Autodesk, Inc.

#include "CoMISoError.hh"

namespace COMISO { 

static const char* ERROR_MESSAGE[] =
{
  #define DEFINE_ERROR(CODE, MSG) MSG,
  #include "CoMISoErrorInc.hh"
  #undef DEFINE_ERROR
};

const char* Error::message() const { return ERROR_MESSAGE[idx_]; }

}//namespace COMISO