Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle

This commit is contained in:
DrSlony
2015-08-11 11:55:03 +02:00
parent effb46c3e1
commit 0e0cfb9b25
452 changed files with 133354 additions and 99460 deletions

View File

@@ -7,7 +7,7 @@
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*
* RawTherapee is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -26,7 +26,8 @@
#include "myflatcurve.h"
#include "mydiagonalcurve.h"
class Clipboard {
class Clipboard
{
bool _hasIPTC;
rtengine::procparams::IPTCPairs iptc;
@@ -37,29 +38,76 @@ class Clipboard {
std::vector<double> flatCurve;
public:
void setIPTC (const rtengine::procparams::IPTCPairs& iptcc) { iptc = iptcc; _hasIPTC = true;}
const rtengine::procparams::IPTCPairs& getIPTC () { return iptc; }
bool hasIPTC () { return _hasIPTC; }
public:
void setIPTC (const rtengine::procparams::IPTCPairs& iptcc)
{
iptc = iptcc;
_hasIPTC = true;
}
const rtengine::procparams::IPTCPairs& getIPTC ()
{
return iptc;
}
bool hasIPTC ()
{
return _hasIPTC;
}
void setPartialProfile (const rtengine::procparams::PartialProfile& pprofile);
const rtengine::procparams::PartialProfile& getPartialProfile () { return partProfile; };
void setProcParams (const rtengine::procparams::ProcParams& pparams);
const rtengine::procparams::ProcParams& getProcParams () { return *partProfile.pparams; }
const ParamsEdited& getParamsEdited () { return *partProfile.pedited; }
bool hasProcParams () { return partProfile.pparams; }
bool hasPEdited () { return partProfile.pedited; }
void setPartialProfile (const rtengine::procparams::PartialProfile& pprofile);
const rtengine::procparams::PartialProfile& getPartialProfile ()
{
return partProfile;
};
void setProcParams (const rtengine::procparams::ProcParams& pparams);
const rtengine::procparams::ProcParams& getProcParams ()
{
return *partProfile.pparams;
}
const ParamsEdited& getParamsEdited ()
{
return *partProfile.pedited;
}
bool hasProcParams ()
{
return partProfile.pparams;
}
bool hasPEdited ()
{
return partProfile.pedited;
}
void setDiagonalCurveData (std::vector<double>& p, DiagonalCurveType type ) { diagonalCurve = p; hasDiagonalCurveDataType = type; return; }
const std::vector<double> & getDiagonalCurveData () { return diagonalCurve; }
DiagonalCurveType hasDiagonalCurveData () { return hasDiagonalCurveDataType; }
void setDiagonalCurveData (std::vector<double>& p, DiagonalCurveType type )
{
diagonalCurve = p;
hasDiagonalCurveDataType = type;
return;
}
const std::vector<double> & getDiagonalCurveData ()
{
return diagonalCurve;
}
DiagonalCurveType hasDiagonalCurveData ()
{
return hasDiagonalCurveDataType;
}
void setFlatCurveData (std::vector<double>& p, FlatCurveType type ) { flatCurve = p; hasFlatCurveDataType = type; return; }
const std::vector<double> & getFlatCurveData () { return flatCurve; }
FlatCurveType hasFlatCurveData () { return hasFlatCurveDataType; }
void setFlatCurveData (std::vector<double>& p, FlatCurveType type )
{
flatCurve = p;
hasFlatCurveDataType = type;
return;
}
const std::vector<double> & getFlatCurveData ()
{
return flatCurve;
}
FlatCurveType hasFlatCurveData ()
{
return hasFlatCurveDataType;
}
Clipboard ();
~Clipboard ();
Clipboard ();
~Clipboard ();
};