CLI
- Stubbed ::unsweetenUUIDs.
This commit is contained in:
20
src/CLI.cpp
20
src/CLI.cpp
@@ -283,6 +283,7 @@ void CLI::analyze ()
|
|||||||
unsweetenAttributeModifiers ();
|
unsweetenAttributeModifiers ();
|
||||||
unsweetenPatterns ();
|
unsweetenPatterns ();
|
||||||
unsweetenIDs ();
|
unsweetenIDs ();
|
||||||
|
unsweetenUUIDs ();
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
@@ -867,6 +868,25 @@ void CLI::unsweetenIDs ()
|
|||||||
_args = reconstructed;
|
_args = reconstructed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
void CLI::unsweetenUUIDs ()
|
||||||
|
{
|
||||||
|
std::vector <A> reconstructed;
|
||||||
|
std::vector <A>::iterator a;
|
||||||
|
for (a = _args.begin (); a != _args.end (); ++a)
|
||||||
|
{
|
||||||
|
if (a->hasTag ("FILTER"))
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
reconstructed.push_back (*a);
|
||||||
|
}
|
||||||
|
|
||||||
|
_args = reconstructed;
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void CLI::dump (const std::string& label) const
|
void CLI::dump (const std::string& label) const
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ private:
|
|||||||
void unsweetenAttributeModifiers ();
|
void unsweetenAttributeModifiers ();
|
||||||
void unsweetenPatterns ();
|
void unsweetenPatterns ();
|
||||||
void unsweetenIDs ();
|
void unsweetenIDs ();
|
||||||
|
void unsweetenUUIDs ();
|
||||||
void dump (const std::string&) const;
|
void dump (const std::string&) const;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user