OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CSMWorld::ColumnBase Struct Referenceabstract

#include <columnbase.hpp>

Inheritance diagram for CSMWorld::ColumnBase:
Collaboration diagram for CSMWorld::ColumnBase:

Public Types

enum  TableEditModes { TableEdit_None, TableEdit_Full, TableEdit_FixedRows }
 
enum  Roles { Role_Flags = Qt::UserRole, Role_Display = Qt::UserRole+1, Role_ColumnId = Qt::UserRole+2 }
 
enum  Flags { Flag_Table = 1, Flag_Dialogue = 2, Flag_Dialogue_List = 4, Flag_Dialogue_Refresh = 8 }
 
enum  Display {
  Display_None, Display_String, Display_LongString, Display_Skill,
  Display_Class, Display_Faction, Display_Race, Display_Sound,
  Display_Region, Display_Birthsign, Display_Spell, Display_Cell,
  Display_Referenceable, Display_Activator, Display_Potion, Display_Apparatus,
  Display_Armor, Display_Book, Display_Clothing, Display_Container,
  Display_Creature, Display_Door, Display_Ingredient, Display_CreatureLevelledList,
  Display_ItemLevelledList, Display_Light, Display_Lockpick, Display_Miscellaneous,
  Display_Npc, Display_Probe, Display_Repair, Display_Static,
  Display_Weapon, Display_Reference, Display_Filter, Display_Topic,
  Display_Journal, Display_TopicInfo, Display_JournalInfo, Display_Scene,
  Display_GlobalVariable, Display_BodyPart, Display_Enchantment, Display_UnsignedInteger8,
  Display_Integer, Display_Float, Display_Var, Display_GmstVarType,
  Display_GlobalVarType, Display_Specialisation, Display_Attribute, Display_Boolean,
  Display_SpellType, Display_Script, Display_ApparatusType, Display_ArmorType,
  Display_ClothingType, Display_CreatureType, Display_WeaponType, Display_RecordState,
  Display_RefRecordType, Display_DialogueType, Display_QuestStatusType, Display_EnchantmentType,
  Display_BodyPartType, Display_MeshType, Display_Gender, Display_Mesh,
  Display_Icon, Display_Music, Display_SoundRes, Display_Texture,
  Display_Video, Display_Colour, Display_ScriptFile, Display_ScriptLines,
  Display_SoundGeneratorType, Display_School, Display_Id, Display_SkillId,
  Display_EffectRange, Display_EffectId, Display_PartRefType, Display_AiPackageType,
  Display_InfoCondFunc, Display_InfoCondVar, Display_InfoCondComp, Display_String32,
  Display_LongString256, Display_EffectSkill, Display_EffectAttribute, Display_IngredEffectId,
  Display_NestedHeader
}
 

Public Member Functions

 ColumnBase (int columnId, Display displayType, int flag)
 
virtual ~ColumnBase ()
 
virtual bool isEditable () const =0
 
virtual bool isUserEditable () const
 Can this column be edited directly by the user? More...
 
virtual std::string getTitle () const
 
virtual int getId () const
 

Static Public Member Functions

static bool isId (Display display)
 
static bool isText (Display display)
 
static bool isScript (Display display)
 

Public Attributes

int mColumnId
 
int mFlags
 
Display mDisplayType
 

Member Enumeration Documentation

Enumerator
Display_None 
Display_String 
Display_LongString 
Display_Skill 
Display_Class 
Display_Faction 
Display_Race 
Display_Sound 
Display_Region 
Display_Birthsign 
Display_Spell 
Display_Cell 
Display_Referenceable 
Display_Activator 
Display_Potion 
Display_Apparatus 
Display_Armor 
Display_Book 
Display_Clothing 
Display_Container 
Display_Creature 
Display_Door 
Display_Ingredient 
Display_CreatureLevelledList 
Display_ItemLevelledList 
Display_Light 
Display_Lockpick 
Display_Miscellaneous 
Display_Npc 
Display_Probe 
Display_Repair 
Display_Static 
Display_Weapon 
Display_Reference 
Display_Filter 
Display_Topic 
Display_Journal 
Display_TopicInfo 
Display_JournalInfo 
Display_Scene 
Display_GlobalVariable 
Display_BodyPart 
Display_Enchantment 
Display_UnsignedInteger8 
Display_Integer 
Display_Float 
Display_Var 
Display_GmstVarType 
Display_GlobalVarType 
Display_Specialisation 
Display_Attribute 
Display_Boolean 
Display_SpellType 
Display_Script 
Display_ApparatusType 
Display_ArmorType 
Display_ClothingType 
Display_CreatureType 
Display_WeaponType 
Display_RecordState 
Display_RefRecordType 
Display_DialogueType 
Display_QuestStatusType 
Display_EnchantmentType 
Display_BodyPartType 
Display_MeshType 
Display_Gender 
Display_Mesh 
Display_Icon 
Display_Music 
Display_SoundRes 
Display_Texture 
Display_Video 
Display_Colour 
Display_ScriptFile 
Display_ScriptLines 
Display_SoundGeneratorType 
Display_School 
Display_Id 
Display_SkillId 
Display_EffectRange 
Display_EffectId 
Display_PartRefType 
Display_AiPackageType 
Display_InfoCondFunc 
Display_InfoCondVar 
Display_InfoCondComp 
Display_String32 
Display_LongString256 
Display_EffectSkill 
Display_EffectAttribute 
Display_IngredEffectId 
Display_NestedHeader 
Enumerator
Flag_Table 
Flag_Dialogue 
Flag_Dialogue_List 
Flag_Dialogue_Refresh 
Enumerator
Role_Flags 
Role_Display 
Role_ColumnId 
Enumerator
TableEdit_None 
TableEdit_Full 
TableEdit_FixedRows 

Constructor & Destructor Documentation

CSMWorld::ColumnBase::ColumnBase ( int  columnId,
Display  displayType,
int  flag 
)
CSMWorld::ColumnBase::~ColumnBase ( )
virtual

Member Function Documentation

int CSMWorld::ColumnBase::getId ( ) const
virtual
std::string CSMWorld::ColumnBase::getTitle ( ) const
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool CSMWorld::ColumnBase::isEditable ( ) const
pure virtual

Implemented in CSMWorld::BodyPartRaceColumn, CSMWorld::FileDescriptionColumn< ESXRecordT >, CSMWorld::AuthorColumn< ESXRecordT >, CSMWorld::FormatColumn< ESXRecordT >, CSMWorld::EffectSoundColumn< ESXRecordT >, CSMWorld::EffectObjectColumn< ESXRecordT >, CSMWorld::EffectTextureColumn< ESXRecordT >, CSMWorld::SchoolColumn< ESXRecordT >, CSMWorld::BaseCostColumn< ESXRecordT >, CSMWorld::SoundGeneratorTypeColumn< ESXRecordT >, CSMWorld::CreatureColumn< ESXRecordT >, CSMWorld::SoundColumn< ESXRecordT >, CSMWorld::RefNumColumn< ESXRecordT >, CSMWorld::RefNumCounterColumn< ESXRecordT >, CSMWorld::OwnerGlobalColumn< ESXRecordT >, CSMWorld::MeshTypeColumn< ESXRecordT >, CSMWorld::MeshTypeColumn< ESM::BodyPart >, CSMWorld::BodyPartTypeColumn< ESXRecordT >, CSMWorld::VampireColumn< ESXRecordT >, CSMWorld::ModelColumn< ESXRecordT >, CSMWorld::AutoCalcColumn< ESXRecordT >, CSMWorld::ChargesColumn2< ESXRecordT >, CSMWorld::EnchantmentTypeColumn< ESXRecordT >, CSMWorld::GenderColumn< ESXRecordT >, CSMWorld::PcRankColumn< ESXRecordT >, CSMWorld::RankColumn< ESXRecordT >, CSMWorld::DispositionColumn< ESXRecordT >, CSMWorld::ResponseColumn< ESXRecordT >, CSMWorld::PcFactionColumn< ESXRecordT >, CSMWorld::ClassColumn< ESXRecordT >, CSMWorld::RaceColumn< ESXRecordT >, CSMWorld::RaceColumn< ESM::BodyPart >, CSMWorld::ActorColumn< ESXRecordT >, CSMWorld::TopicColumn< ESXRecordT >, CSMWorld::QuestIndexColumn< ESXRecordT >, CSMWorld::QuestDescriptionColumn< ESXRecordT >, CSMWorld::QuestStatusTypeColumn< ESXRecordT >, CSMWorld::DialogueTypeColumn< ESXRecordT >, CSMWorld::RotColumn< ESXRecordT >, CSMWorld::PosColumn< ESXRecordT >, CSMWorld::FilterColumn< ESXRecordT >, CSMWorld::TrapColumn< ESXRecordT >, CSMWorld::KeyColumn< ESXRecordT >, CSMWorld::LockLevelColumn< ESXRecordT >, CSMWorld::TeleportCellColumn< ESXRecordT >, CSMWorld::TeleportColumn< ESXRecordT >, CSMWorld::GoldValueColumn< ESXRecordT >, CSMWorld::EnchantmentChargesColumn< ESXRecordT >, CSMWorld::ChargesColumn< ESXRecordT >, CSMWorld::FactionIndexColumn< ESXRecordT >, CSMWorld::FactionColumn< ESXRecordT >, CSMWorld::SoulColumn< ESXRecordT >, CSMWorld::OwnerColumn< ESXRecordT >, CSMWorld::ScaleColumn< ESXRecordT >, CSMWorld::IdColumn< ESXRecordT >, CSMWorld::OriginalCellColumn< ESXRecordT >, CSMWorld::CellColumn< ESXRecordT >, CSMWorld::RegionColumn< ESXRecordT >, CSMWorld::ScriptColumn< ESXRecordT >, CSMWorld::CostColumn< ESXRecordT >, CSMWorld::SpellTypeColumn< ESXRecordT >, CSMWorld::TextureColumn< ESXRecordT >, CSMWorld::SleepListColumn< ESXRecordT >, CSMWorld::MapColourColumn< ESXRecordT >, CSMWorld::SoundFileColumn< ESXRecordT >, CSMWorld::SoundParamColumn< ESXRecordT >, CSMWorld::WeightHeightColumn< ESXRecordT >, CSMWorld::FlagColumn2< ESXRecordT >, CSMWorld::FlagColumn< ESXRecordT >, CSMWorld::HiddenColumn< ESXRecordT >, CSMWorld::PlayableColumn< ESXRecordT >, CSMWorld::SkillsColumn< ESXRecordT >, CSMWorld::AttributesColumn< ESXRecordT >, CSMWorld::NameColumn< ESXRecordT >, CSMWorld::AttributeColumn< ESXRecordT >, CSMWorld::UseValueColumn< ESXRecordT >, CSMWorld::SpecialisationColumn< ESXRecordT >, CSMWorld::NestedChildColumn, CSMWorld::DescriptionColumn< ESXRecordT >, CSMWorld::NestedParentColumn< ESXRecordT >, CSMWorld::VarValueColumn< ESXRecordT >, CSMWorld::VarTypeColumn< ESXRecordT >, CSMWorld::FixedRecordTypeColumn< ESXRecordT >, CSMWorld::RecordStateColumn< ESXRecordT >, CSMWorld::StringIdColumn< ESXRecordT >, CSMWorld::FloatValueColumn< ESXRecordT >, and CSMWorld::RefIdColumn.

bool CSMWorld::ColumnBase::isId ( Display  display)
static

Here is the caller graph for this function:

bool CSMWorld::ColumnBase::isScript ( Display  display)
static

Here is the caller graph for this function:

bool CSMWorld::ColumnBase::isText ( Display  display)
static

Here is the caller graph for this function:

bool CSMWorld::ColumnBase::isUserEditable ( ) const
virtual

Member Data Documentation

int CSMWorld::ColumnBase::mColumnId
Display CSMWorld::ColumnBase::mDisplayType
int CSMWorld::ColumnBase::mFlags

The documentation for this struct was generated from the following files: