HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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:1291
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
Definition: thread.h:623
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
#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.