Mantid
Loading...
Searching...
No Matches
VectorColumn.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
9
10namespace Mantid::DataObjects {
11// Please feel free to declare new types as you need them. Syntax is:
12// DECLARE_VECTORCOLUMN(type, name-of-the-type);
13
14// IMPORTANT: When you do add new column types, please update the following
15// places as well:
16// - ARRAY_TYPES in ITableWorkspace.cpp, so that column is exported to Python
17// properly
18// - IF_VECTOR_COLUMN in NexusFileIO.cpp, so that column is save to Nexus file
19// properly
20// - IF_VECTOR_COLUMN in LoadNexusProcessed.cpp, so that column can be loaded
21// from Nexus file
22
23DECLARE_VECTORCOLUMN(int, vector_int)
24DECLARE_VECTORCOLUMN(double, vector_double)
25} // namespace Mantid::DataObjects
#define DECLARE_VECTORCOLUMN(Type, TypeName)
Definition: VectorColumn.h:196