Skip to content

Commit

Permalink
DataSamples
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Jul 20, 2024
1 parent 2872315 commit 5e0c621
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ namely `HashSet`, `HashMap`, `HashMultiMap`, `TreeSet`, `TreeMap`, `Array`, `Seg

`momo::DataTable` is similar to [`Boost.MultiIndex`](https://www.boost.org/doc/libs/1_74_0/libs/multi_index/doc/index.html),
but its API looks like [`ADO.NET DataTable`](https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable).
Some examples are [here](https://github.com/morzhovets/momo/blob/branch_cpp11/test/sources/SimpleDataSampler.cpp).
Some examples are [here](https://github.com/morzhovets/momo/blob/branch_cpp11/test/sources/DataSamples.cpp).

#### Supported compilers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
https://github.com/morzhovets/momo/blob/branch_cpp11/LICENSE
for details.
test/sources/SimpleDataSampler.cpp
test/sources/DataSamples.cpp
\**********************************************************/

Expand All @@ -18,14 +18,14 @@
#pragma warning (disable: 4307) // integral constant overflow
#endif

#include "SimpleDataSampler.h"
#include "DataSamples.h"

#include <iostream>
#include <sstream>

namespace sample_data1
{
// Declarations in SimpleDataSampler.h
// Declarations in DataSamples.h
/*
inline constexpr momo::DataColumn<int> intCol("intCol");
inline constexpr momo::DataColumn<double> dblCol("dblCol");
Expand Down Expand Up @@ -83,7 +83,7 @@ namespace sample_data1

namespace sample_data2
{
// Declarations in SimpleDataSampler.h
// Declarations in DataSamples.h
/*
struct Struct
{
Expand Down Expand Up @@ -160,7 +160,7 @@ namespace sample_data2

namespace sample_data3
{
// Declarations in SimpleDataSampler.h
// Declarations in DataSamples.h
/*
using Table = momo::DataTable<>;
using ConstRowReference = Table::ConstRowReference;
Expand Down Expand Up @@ -238,7 +238,7 @@ namespace sample_data3

namespace sample_data4
{
// Declarations in SimpleDataSampler.h
// Declarations in DataSamples.h
/*
using Struct = momo::DataStructDefault<int, double, std::string>;
using ColumnList = momo::DataColumnList<momo::DataColumnTraits<Struct>>;
Expand Down Expand Up @@ -286,7 +286,7 @@ namespace sample_data4

namespace sample_data5
{
// Declarations in SimpleDataSampler.h
// Declarations in DataSamples.h
/*
struct Struct
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
https://github.com/morzhovets/momo/blob/branch_cpp11/LICENSE
for details.
test/sources/SimpleDataSampler.h
test/sources/DataSamples.h
\**********************************************************/

Expand Down

0 comments on commit 5e0c621

Please sign in to comment.