#include <myClass.h>

#ifdef CABLE_CONFIGURATION
namespace _cable_
{
  const char* const group="myClass";
  const char* const package="myClassTcl";
  const char* const groups[]={"myClass"};
  
  namespace wrappers
  {
    typedef std::string string;
    typedef myClass myClass;
  }
}

void cable_instantiate()
{
  using namespace _cable_::wrappers;
  sizeof(::_cable_::wrappers::string);
  sizeof(::_cable_::wrappers::myClass);
}

#endif // CABLE_CONFIGURATION


/* Tcl test:

tclsh
load ./libmyClassTcl.so
myClass SetLoD 5
puts [myClass GetLoD]
myClass SetLoD [string "new"] 8
puts [myClass GetLoD]
puts [[myClass GetName] c_str]


With MY_TYPE as int:

% load ./libmyClassTcl.so

% myClass SetLoD 5
1

% puts [myClass GetLoD]
5

% myClass SetLoD [string "new"] 8
1

% puts [myClass GetLoD]
8

% puts [[myClass GetName] c_str]
new


With MY_TYPE as short:

% load ./libmyClassTcl.so

% myClass SetLoD 5
No method matches void::SetLoD(int)
Candidates are:
  static bool myClass::SetLoD(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&, short)
  static bool myClass::SetLoD(short)

% puts [myClass GetLoD]
0

% myClass SetLoD [string "new"] 8
No method matches void::SetLoD(std::basic_string<char,std::char_traits<char>,std::allocator<char> >, int)
Candidates are:
  static bool myClass::SetLoD(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&, short)
  static bool myClass::SetLoD(short)

*/
