27 lines
408 B
Plaintext
27 lines
408 B
Plaintext
// Copyright (C) 2010, Guy Barrand. All rights reserved.
|
|
// See the file tools.license for terms.
|
|
|
|
#ifndef tools_sg_ifield_factory
|
|
#define tools_sg_ifield_factory
|
|
|
|
namespace tools {
|
|
namespace sg {
|
|
class field;
|
|
}}
|
|
|
|
#include <string>
|
|
|
|
namespace tools {
|
|
namespace sg {
|
|
|
|
class ifield_factory {
|
|
public:
|
|
virtual ~ifield_factory(){}
|
|
public:
|
|
virtual field* create(const std::string&) const = 0;
|
|
};
|
|
|
|
}}
|
|
|
|
#endif
|