KiCad PCB EDA Suite
Loading...
Searching...
No Matches
macros_swig.h File Reference

This file contains macros just for swig binding. More...

#include <deque>
#include <vector>
#include <map>
#include <set>
#include <memory>

Go to the source code of this file.

Macros

#define DECL_VEC_FOR_SWIG(TypeName, MemberType)   typedef std::vector<MemberType> TypeName;
 Declare a std::vector but no swig template.
 
#define DECL_DEQ_FOR_SWIG(TypeName, MemberType)   typedef std::deque<MemberType> TypeName;
 
#define DECL_MAP_FOR_SWIG(TypeName, KeyType, ValueType)   typedef std::map<KeyType, ValueType> TypeName;
 
#define DECL_SPTR_FOR_SWIG(TypeName, MemberType)   typedef std::shared_ptr<MemberType> TypeName;
 
#define DECL_SET_FOR_SWIG(TypeName, MemberType)   typedef std::set<MemberType> TypeName;
 

Detailed Description

This file contains macros just for swig binding.

Definition in file macros_swig.h.

Macro Definition Documentation

◆ DECL_DEQ_FOR_SWIG

#define DECL_DEQ_FOR_SWIG (   TypeName,
  MemberType 
)    typedef std::deque<MemberType> TypeName;

Definition at line 51 of file macros_swig.h.

◆ DECL_MAP_FOR_SWIG

#define DECL_MAP_FOR_SWIG (   TypeName,
  KeyType,
  ValueType 
)    typedef std::map<KeyType, ValueType> TypeName;

Definition at line 52 of file macros_swig.h.

◆ DECL_SET_FOR_SWIG

#define DECL_SET_FOR_SWIG (   TypeName,
  MemberType 
)    typedef std::set<MemberType> TypeName;

Definition at line 54 of file macros_swig.h.

◆ DECL_SPTR_FOR_SWIG

#define DECL_SPTR_FOR_SWIG (   TypeName,
  MemberType 
)    typedef std::shared_ptr<MemberType> TypeName;

Definition at line 53 of file macros_swig.h.

◆ DECL_VEC_FOR_SWIG

#define DECL_VEC_FOR_SWIG (   TypeName,
  MemberType 
)    typedef std::vector<MemberType> TypeName;

Declare a std::vector but no swig template.

Definition at line 50 of file macros_swig.h.