mirror of https://github.com/KLayout/klayout.git
commit
052da82d5f
|
|
@ -54,7 +54,7 @@ DB_PUBLIC unsigned int get_unique_user_object_class_id ();
|
||||||
* in order to be able to be put into a user_object<C>.
|
* in order to be able to be put into a user_object<C>.
|
||||||
*/
|
*/
|
||||||
template <class C>
|
template <class C>
|
||||||
class user_object_base
|
class DB_PUBLIC_TEMPLATE user_object_base
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef C coord_type;
|
typedef C coord_type;
|
||||||
|
|
@ -399,7 +399,7 @@ typedef user_object<db::DCoord> DUserObject;
|
||||||
* @brief The base object of a factory-instantiable object
|
* @brief The base object of a factory-instantiable object
|
||||||
*/
|
*/
|
||||||
template <class C>
|
template <class C>
|
||||||
class user_object_factory_base
|
class DB_PUBLIC_TEMPLATE user_object_factory_base
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
user_object_factory_base () { }
|
user_object_factory_base () { }
|
||||||
|
|
@ -414,7 +414,7 @@ public:
|
||||||
* This implements a factory for objects of class X with coordinate base type C.
|
* This implements a factory for objects of class X with coordinate base type C.
|
||||||
*/
|
*/
|
||||||
template <class X, class C>
|
template <class X, class C>
|
||||||
class user_object_factory_impl
|
class DB_PUBLIC_TEMPLATE user_object_factory_impl
|
||||||
: public user_object_factory_base <C>
|
: public user_object_factory_base <C>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue