HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_IterableList.h File Reference
#include "HOM_API.h"
#include "HOM_Defines.h"
#include "HOM_Errors.h"
#include "HOM_Module.h"
#include <string>
#include <vector>
#include <stdexcept>
+ Include dependency graph for HOM_IterableList.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GETITEM_SWIG_EXTENSION
 
#define DEFINE_HOM_ITERABLE_LIST(template_parm, template_type, specialization, getitem_type)
 

Macro Definition Documentation

#define DEFINE_HOM_ITERABLE_LIST (   template_parm,
  template_type,
  specialization,
  getitem_type 
)
Value:
template <template_parm> \
class HOM_IterableList specialization \
{ \
public: \
HOM_IterableList() \
HOM_IterableList(const HOM_IterableList<template_type> &) \
virtual ~HOM_IterableList() \
{ HOM_DESTRUCT_OBJECT(this) } \
\
/* Note that we don't need to implement __iter__, since for loops will */ \
/* work if they find __getitem__. */ \
\
virtual int __len__() = 0; \
virtual std::string __repr__() = 0; \
SWIGOUT(%ignore getItemWithValidIndex;) \
virtual getitem_type getItemWithValidIndex(int key) = 0; \
};
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:983
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:982
#define GETITEM_SWIG_EXTENSION

Definition at line 64 of file HOM_IterableList.h.

#define GETITEM_SWIG_EXTENSION

Definition at line 61 of file HOM_IterableList.h.