mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-29 08:36:45 +01:00
binned out typedefs for boost::shared_ptr
This commit is contained in:
parent
f423162049
commit
6308542751
3 changed files with 15 additions and 3 deletions
|
@ -25,7 +25,11 @@ public:
|
|||
const std::vector<XPathExpressionPtr>& argExprs) const = 0;
|
||||
}; // class FunctionResolver
|
||||
|
||||
typedef boost::shared_ptr<FunctionResolver> FunctionResolverPtr;
|
||||
class FunctionResolverPtr : public boost::shared_ptr<FunctionResolver>
|
||||
{
|
||||
public:
|
||||
explicit FunctionResolverPtr(FunctionResolver* fr) : boost::shared_ptr<FunctionResolver>(fr) { }
|
||||
};
|
||||
|
||||
class NullFunctionResolver : public FunctionResolver
|
||||
{
|
||||
|
|
|
@ -33,7 +33,11 @@ class NamespaceContext
|
|||
bool operator==(const NamespaceContext&) const;
|
||||
}; // class NamespaceContext
|
||||
|
||||
typedef boost::shared_ptr<NamespaceContext> NamespaceContextPtr;
|
||||
class NamespaceContextPtr : public boost::shared_ptr<NamespaceContext>
|
||||
{
|
||||
public:
|
||||
explicit NamespaceContextPtr(NamespaceContext* nc) : boost::shared_ptr<NamespaceContext>(nc) { }
|
||||
}; // class NamespaceContextPtr
|
||||
|
||||
class NullNamespaceContext : public NamespaceContext
|
||||
{
|
||||
|
|
|
@ -23,7 +23,11 @@ public:
|
|||
virtual XPathValuePtr resolveVariable(const std::string& name) const = 0;
|
||||
}; // class VariableResolver
|
||||
|
||||
typedef boost::shared_ptr<VariableResolver> VariableResolverPtr;
|
||||
class VariableResolverPtr : public boost::shared_ptr<VariableResolver>
|
||||
{
|
||||
public:
|
||||
explicit VariableResolverPtr(VariableResolver* vr) : boost::shared_ptr<VariableResolver>(vr) { }
|
||||
}; // class VariableResolverPtr
|
||||
|
||||
class NullVariableResolver : public VariableResolver
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue