Commit e5457034 authored by Fernando Silva Coira's avatar Fernando Silva Coira
Browse files

Add comments

parent 90e703fa
......@@ -71,6 +71,10 @@ namespace cds {
const data_type &data = m_data;
//*******************************************************//
//******************* CONSTRUCTORS **********************//
//*******************************************************//
//Default constructor
table_bitmap() = default;
......@@ -120,6 +124,11 @@ namespace cds {
sdsl::util::init_support(m_rank_bitmap, &m_bitmap);
}
//*******************************************************//
//******************** FUNCTIONS ************************//
//*******************************************************//
//Number of elements
inline size_type size()const
{
......@@ -132,6 +141,11 @@ namespace cds {
return m_data.empty();
}
//*******************************************************//
//*************** BASIC OPERATIONS **********************//
//*******************************************************//
//Swap method
void swap(table_bitmap& o)
{
......@@ -179,6 +193,10 @@ namespace cds {
return -1;
}
//*******************************************************//
//********************** FILE ***************************//
//*******************************************************//
//Serialize to a stream
size_type serialize(std::ostream& out, sdsl::structure_tree_node* v=nullptr, std::string name="")const
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment