new release
This commit is contained in:
@@ -20,28 +20,28 @@
|
||||
using boost::multi_index_container;
|
||||
using namespace boost::multi_index;
|
||||
|
||||
struct by_handle{};
|
||||
struct by_channelID{};
|
||||
struct by_pv{};
|
||||
struct by_pvAlias{};
|
||||
struct by_handle {};
|
||||
struct by_channelID {};
|
||||
struct by_pv {};
|
||||
struct by_pvAlias {};
|
||||
|
||||
|
||||
typedef multi_index_container<
|
||||
Conduit,
|
||||
indexed_by<
|
||||
ordered_unique<
|
||||
tag<by_handle>, BOOST_MULTI_INDEX_MEMBER(Conduit, unsigned int, handle)>,
|
||||
ordered_non_unique<
|
||||
tag<by_channelID>, BOOST_MULTI_INDEX_MEMBER(Conduit, chid, channelID)>,
|
||||
ordered_non_unique<
|
||||
tag<by_pv>, BOOST_MULTI_INDEX_MEMBER(Conduit, std::string, pv)>,
|
||||
ordered_non_unique<
|
||||
tag<by_pvAlias>, BOOST_MULTI_INDEX_MEMBER(Conduit, std::string, pvAlias)>,
|
||||
//ordered_non_unique<
|
||||
//tag<by_uniqueID>, BOOST_MULTI_INDEX_MEMBER(Conduit, unsigned int, uniqueID)>,
|
||||
hashed_unique<member<Conduit, unsigned int, &Conduit::handle> >
|
||||
>
|
||||
> cafeConduit_set;
|
||||
Conduit,
|
||||
indexed_by<
|
||||
ordered_unique<
|
||||
tag<by_handle>, BOOST_MULTI_INDEX_MEMBER(Conduit, unsigned int, handle)>,
|
||||
ordered_non_unique<
|
||||
tag<by_channelID>, BOOST_MULTI_INDEX_MEMBER(Conduit, chid, channelID)>,
|
||||
ordered_non_unique<
|
||||
tag<by_pv>, BOOST_MULTI_INDEX_MEMBER(Conduit, std::string, pv)>,
|
||||
ordered_non_unique<
|
||||
tag<by_pvAlias>, BOOST_MULTI_INDEX_MEMBER(Conduit, std::string, pvAlias)>,
|
||||
//ordered_non_unique<
|
||||
//tag<by_uniqueID>, BOOST_MULTI_INDEX_MEMBER(Conduit, unsigned int, uniqueID)>,
|
||||
hashed_unique<member<Conduit, unsigned int, &Conduit::handle> >
|
||||
>
|
||||
> cafeConduit_set;
|
||||
|
||||
|
||||
typedef cafeConduit_set::index<by_channelID>::type cafeConduit_set_by_channelID;
|
||||
|
||||
Reference in New Issue
Block a user