mirror of
https://github.com/pocoproject/poco.git
synced 2025-07-04 01:27:11 +02:00
style fixes
This commit is contained in:
parent
1c639d6c2c
commit
ed518115d7
@ -54,9 +54,9 @@ public:
|
|||||||
/// A key-value pair, used as event argument.
|
/// A key-value pair, used as event argument.
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
KeyValue(const std::string& rKey, std::string& rValue):
|
KeyValue(const std::string& key, std::string& value):
|
||||||
_key(rKey),
|
_key(key),
|
||||||
_value(rValue)
|
_value(value)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -423,11 +423,11 @@ std::string AbstractConfiguration::internalExpand(const std::string& value) cons
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
std::string AbstractConfiguration::uncheckedExpand(const std::string& rValue) const
|
std::string AbstractConfiguration::uncheckedExpand(const std::string& value) const
|
||||||
{
|
{
|
||||||
std::string result;
|
std::string result;
|
||||||
std::string::const_iterator it = rValue.begin();
|
std::string::const_iterator it = value.begin();
|
||||||
std::string::const_iterator end = rValue.end();
|
std::string::const_iterator end = value.end();
|
||||||
while (it != end)
|
while (it != end)
|
||||||
{
|
{
|
||||||
if (*it == '$')
|
if (*it == '$')
|
||||||
|
@ -60,9 +60,9 @@ Option::Option(const Option& option):
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Option::Option(const std::string& rFullName, const std::string& rShortName):
|
Option::Option(const std::string& fullName, const std::string& shortName):
|
||||||
_shortName(rShortName),
|
_shortName(shortName),
|
||||||
_fullName(rFullName),
|
_fullName(fullName),
|
||||||
_required(false),
|
_required(false),
|
||||||
_repeatable(false),
|
_repeatable(false),
|
||||||
_argRequired(false),
|
_argRequired(false),
|
||||||
@ -73,11 +73,11 @@ Option::Option(const std::string& rFullName, const std::string& rShortName):
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Option::Option(const std::string& rFullName, const std::string& rShortName, const std::string& rDescription, bool isRequired):
|
Option::Option(const std::string& fullName, const std::string& shortName, const std::string& description, bool required):
|
||||||
_shortName(rShortName),
|
_shortName(shortName),
|
||||||
_fullName(rFullName),
|
_fullName(fullName),
|
||||||
_description(rDescription),
|
_description(description),
|
||||||
_required(isRequired),
|
_required(required),
|
||||||
_repeatable(false),
|
_repeatable(false),
|
||||||
_argRequired(false),
|
_argRequired(false),
|
||||||
_pValidator(0),
|
_pValidator(0),
|
||||||
@ -87,11 +87,11 @@ Option::Option(const std::string& rFullName, const std::string& rShortName, cons
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Option::Option(const std::string& rFullName, const std::string& rShortName, const std::string& rDescription, bool isRequired, const std::string& argName, bool argRequired):
|
Option::Option(const std::string& fullName, const std::string& shortName, const std::string& description, bool required, const std::string& argName, bool argRequired):
|
||||||
_shortName(rShortName),
|
_shortName(shortName),
|
||||||
_fullName(rFullName),
|
_fullName(fullName),
|
||||||
_description(rDescription),
|
_description(description),
|
||||||
_required(isRequired),
|
_required(required),
|
||||||
_repeatable(false),
|
_repeatable(false),
|
||||||
_argName(argName),
|
_argName(argName),
|
||||||
_argRequired(argRequired),
|
_argRequired(argRequired),
|
||||||
@ -189,9 +189,9 @@ Option& Option::noArgument()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Option& Option::group(const std::string& rGroup)
|
Option& Option::group(const std::string& group)
|
||||||
{
|
{
|
||||||
_group = rGroup;
|
_group = group;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ namespace Util {
|
|||||||
class TimerNotification: public Poco::Notification
|
class TimerNotification: public Poco::Notification
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TimerNotification(Poco::TimedNotificationQueue& rQueue):
|
TimerNotification(Poco::TimedNotificationQueue& queue):
|
||||||
_queue(rQueue)
|
_queue(queue)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,8 +54,8 @@ private:
|
|||||||
class StopNotification: public TimerNotification
|
class StopNotification: public TimerNotification
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
StopNotification(Poco::TimedNotificationQueue& rQueue):
|
StopNotification(Poco::TimedNotificationQueue& queue):
|
||||||
TimerNotification(rQueue)
|
TimerNotification(queue)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,8 +74,8 @@ public:
|
|||||||
class CancelNotification: public TimerNotification
|
class CancelNotification: public TimerNotification
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CancelNotification(Poco::TimedNotificationQueue& rQueue):
|
CancelNotification(Poco::TimedNotificationQueue& queue):
|
||||||
TimerNotification(rQueue)
|
TimerNotification(queue)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -103,8 +103,8 @@ private:
|
|||||||
class TaskNotification: public TimerNotification
|
class TaskNotification: public TimerNotification
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TaskNotification(Poco::TimedNotificationQueue& rQueue, TimerTask::Ptr pTask):
|
TaskNotification(Poco::TimedNotificationQueue& queue, TimerTask::Ptr pTask):
|
||||||
TimerNotification(rQueue),
|
TimerNotification(queue),
|
||||||
_pTask(pTask)
|
_pTask(pTask)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -151,8 +151,8 @@ private:
|
|||||||
class PeriodicTaskNotification: public TaskNotification
|
class PeriodicTaskNotification: public TaskNotification
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
PeriodicTaskNotification(Poco::TimedNotificationQueue& rQueue, TimerTask::Ptr pTask, long interval):
|
PeriodicTaskNotification(Poco::TimedNotificationQueue& queue, TimerTask::Ptr pTask, long interval):
|
||||||
TaskNotification(rQueue, pTask),
|
TaskNotification(queue, pTask),
|
||||||
_interval(interval)
|
_interval(interval)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -185,8 +185,8 @@ private:
|
|||||||
class FixedRateTaskNotification: public TaskNotification
|
class FixedRateTaskNotification: public TaskNotification
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FixedRateTaskNotification(Poco::TimedNotificationQueue& rQueue, TimerTask::Ptr pTask, long interval, Poco::Clock clock):
|
FixedRateTaskNotification(Poco::TimedNotificationQueue& queue, TimerTask::Ptr pTask, long interval, Poco::Clock clock):
|
||||||
TaskNotification(rQueue, pTask),
|
TaskNotification(queue, pTask),
|
||||||
_interval(interval),
|
_interval(interval),
|
||||||
_nextExecution(clock)
|
_nextExecution(clock)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user