C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
name_item.h File Reference

A name of a topological object. More...

#include <templ_s_array.h>
#include <templ_s_array_rw.h>
#include <templ_css_array.h>
#include <reference_item.h>
#include <io_base.h>
#include <hash32.h>
#include <mb_enum.h>
#include <name_version.h>
#include <name_flags.h>
#include <templ_lis_array.h>
#include <system_atomic.h>
#include <vector>
#include <set>

Classes

class  SimpleNameArray
 Set of simple names. More...
 
struct  MbIdArr
 Truncated set of simple names. More...
 
class  MbName
 A name of an object. More...
 
class  MbNamePair
 Name of object and its duplicate. More...
 
class  MbNamePairList
 Table of names correspondence. More...
 
class  MbNameMaker
 Name generator. More...
 
class  MbSNameMaker
 Generator of names with additions to name. More...
 
class  MbPath
 Path to component. More...
 

Namespaces

 c3d
 C3D namespace declaration.
 

Functions

template<class IntegralType >
void SwapIT (IntegralType &a, IntegralType &b)
 Swap. More...
 
readeroperator>> (reader &in, SimpleNameArray *&nArr)
 Reading with memory allocation: nArr = new SimpleNameArray();
More...
 
readeroperator>> (reader &in, SimpleNameArray &ref)
 Reading. More...
 
writeroperator<< (writer &out, const SimpleNameArray &ref)
 Writing. More...
 
SimpleName Hash32 (const SimpleNameArray &snArr)
 Hash32.
 
SArray< SimpleName > & operator+= (SArray< SimpleName > &array, const SimpleNameArray &other)
 Concatenation operator. More...
 
int MbMemDefNameCompare (const MbName &n1, const MbName &n2)
 Name comparison function. More...
 
int MbDefNameCompare (const MbName &n1, const MbName &n2)
 Name comparison function. More...
 
template<class SimpleNameVector >
bool IsEqualPaths (const SimpleNameVector &path1, const SimpleNameVector &path2)
 Compare paths as array of identifiers. More...
 

Variables

constexpr size_t sizeofSimpleName = sizeof( SimpleName )
 Size of SimpleName. More...
 

Detailed Description

A name of a topological object.

Function Documentation

◆ operator>>() [1/2]

reader& operator>> ( reader in,
SimpleNameArray *&  nArr 
)

Reading with memory allocation: nArr = new SimpleNameArray();

Read operator.

◆ operator>>() [2/2]

reader& operator>> ( reader in,
SimpleNameArray ref 
)
inline

Reading.

Read operator.

◆ operator<<()

writer& operator<< ( writer out,
const SimpleNameArray ref 
)
inline

Writing.

Write operator.

◆ operator+=()

SArray<SimpleName>& operator+= ( SArray< SimpleName > &  array,
const SimpleNameArray other 
)
inline

Concatenation operator.

Operator for adding.