History

TimeSeriesPlatformLibrary: Updated DataSet XML parser to properly pickup columns that have an expression defined in the schema.

J. Ritchie Carroll committed 7 years ago

Commit 52ae5c61 parent a5c76019 files · +44 −20Browse files

Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Data/DataTable.cpp (1 of 9 files). Show all

Unified · Split

Source/Libraries/TimeSeriesPlatformLibrary/Data/DataTable.cpp+2−2
@@ -85,9 +85,9 @@ const DataColumnPtr& DataTable::operator[](int32_t index) const · 84 unmodified lines
8585 return Column(index);
8686 }
8787
88−DataColumnPtr DataTable::CreateColumn(const string& name, DataType type)
88+DataColumnPtr DataTable::CreateColumn(const string& name, DataType type, string expression)
8989 {
90− return NewSharedPtr<DataColumn, DataTablePtr, string, DataType>(shared_from_this(), name, type);
90+ return NewSharedPtr<DataColumn, DataTablePtr, string, DataType>(shared_from_this(), name, type, expression);
9191 }
9292
9393 int32_t DataTable::ColumnCount() const

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t