Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cbb19361b4
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (25 sloc) 0.685 kb
// Copyright (c) 2011-2012, Richard Osborne, All rights reserved
// This software is freely distributable under a derivative of the
// University of Illinois/NCSA Open Source License posted in
// LICENSE.txt and at <http://github.xcore.com/>
#include "Property.h"
Property Property::integerProperty(const PropertyDescriptor *d, int32_t value)
{
Property p(d);
p.setInteger(value);
return p;
}
Property Property::
stringProperty(const PropertyDescriptor *d, const std::string &value)
{
Property p(d);
p.setString(value);
return p;
}
Property Property::
portProperty(const PropertyDescriptor *d, const PortArg &value)
{
Property p(d);
p.setPort(value);
return p;
}
Jump to Line
Something went wrong with that request. Please try again.