Skip to content

Commit

Permalink
Re #7279. Moved implementation from header into source file.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Jun 13, 2013
1 parent 41bcb8c commit 3d0b573
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ class DLLExport SetSampleMaterial : public Mantid::API::Algorithm
{
public:
/// (Empty) Constructor
SetSampleMaterial() : Mantid::API::Algorithm() {}
SetSampleMaterial();
/// Virtual destructor
virtual ~SetSampleMaterial() {}
virtual ~SetSampleMaterial();
/// Algorithm's name
virtual const std::string name() const { return "SetSampleMaterial"; }
virtual const std::string name() const;
/// Algorithm's version
virtual int version() const { return (1); }
/// Algorithm's category for identification
virtual const std::string category() const { return "Sample;DataHandling"; }
virtual const std::string category() const;
/// @inheritdocs
virtual std::map<std::string, std::string> validateInputs();

Expand Down
11 changes: 11 additions & 0 deletions Code/Mantid/Framework/DataHandling/src/SetSampleMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,17 @@ namespace DataHandling
// Register the algorithm into the AlgorithmFactory
DECLARE_ALGORITHM(SetSampleMaterial)

SetSampleMaterial::SetSampleMaterial() : Mantid::API::Algorithm() {}
SetSampleMaterial::~SetSampleMaterial() {}
const std::string SetSampleMaterial::name() const
{
return "SetSampleMaterial";
}
const std::string SetSampleMaterial::category() const
{
return "Sample;DataHandling";
}

/// Sets documentation strings for this algorithm
void SetSampleMaterial::initDocs()
{
Expand Down

0 comments on commit 3d0b573

Please sign in to comment.