Files
core/ASCOfficeOdtFile/Source/Common/Index.h
Elen.Subbotina 6138139c4e исправлен проект - подключен "старый" DocxFormat (тот который с AVS - без вытирания буста)
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-20 22:37:54 +03:00

47 lines
689 B
C++

#pragma once
#ifndef COMMON_INDEX_INCLUDE_H_
#define COMMON_INDEX_INCLUDE_H_
namespace Common
{
class Index
{
public:
Index();
enum Type
{
super,
normal,
sub
};
public:
const Type type() const;
public:
static const Index Super();
static const Index Normal();
static const Index Sub();
public:
const bool isSuper() const;
const bool isNormal() const;
const bool isSub() const;
public:
void setSuper();
void setNormal();
void setSub();
protected:
Type m_type;
protected:
Index(const Type type);
void fromBase(const Index& index);
};
} // namespace Common
#endif // COMMON_INDEX_INCLUDE_H_