The Gnome Chemistry Utils  0.13.6
objprops.h
Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 /*
00004  * Gnome Chemistry Utils
00005  * gcu/objprops.h
00006  *
00007  * Copyright (C) 2007-2012 Jean Bréfort <jean.brefort@normalesup.org>
00008  *
00009  * This program is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU General Public License as
00011  * published by the Free Software Foundation; either version 2 of the
00012  * License, or (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
00022  * USA
00023  */
00024 
00025 #ifndef GCU_OBJ_PROPS_H
00026 #define GCU_OBJ_PROPS_H
00027 
00033 enum {
00034         // Common properties
00038         GCU_PROP_ID,
00042         GCU_PROP_POS2D,
00046         GCU_PROP_POS3D,
00047         // Document properties
00051         GCU_PROP_X,
00055         GCU_PROP_Y,
00059         GCU_PROP_Z,
00063         GCU_PROP_XFRACT,
00067         GCU_PROP_YFRACT,
00071         GCU_PROP_ZFRACT,
00075         GCU_PROP_DOC_FILENAME,
00079         GCU_PROP_DOC_MIMETYPE,
00083         GCU_PROP_DOC_TITLE,
00087         GCU_PROP_DOC_COMMENT,
00091         GCU_PROP_DOC_CREATOR,
00095         GCU_PROP_DOC_CREATOR_EMAIL,
00099         GCU_PROP_DOC_CREATION_TIME,
00103         GCU_PROP_DOC_MODIFICATION_TIME,
00104         // Theme related properties (might be doc properties in some formats)
00108         GCU_PROP_THEME_BOND_LENGTH,
00109         // Atom properties
00113         GCU_PROP_ATOM_SYMBOL,
00117         GCU_PROP_ATOM_Z,
00121         GCU_PROP_ATOM_CHARGE,
00125         GCU_PROP_ATOM_PARITY,
00126         // Bond properties
00130         GCU_PROP_BOND_BEGIN,
00134         GCU_PROP_BOND_END,
00138         GCU_PROP_BOND_ORDER,
00142         GCU_PROP_BOND_TYPE, //normal, hash, wedge,...
00143         // Text properties
00147         GCU_PROP_TEXT_TEXT,
00151         GCU_PROP_TEXT_MARKUP,
00155         GCU_PROP_TEXT_ALIGNMENT,
00159         GCU_PROP_TEXT_JUSTIFICATION,
00163         GCU_PROP_FRAGMENT_ATOM_START, // index of the start of the symbol of the bonded atom if any
00167         GCU_PROP_FRAGMENT_ATOM_ID,
00168         // Arrows properties
00173         GCU_PROP_ARROW_COORDS,
00177         GCU_PROP_ARROW_START_ID,
00181         GCU_PROP_ARROW_END_ID,
00185         GCU_PROP_REACTION_ARROW_TYPE,
00189         GCU_PROP_CELL_A,
00193         GCU_PROP_CELL_B,
00197         GCU_PROP_CELL_C,
00201         GCU_PROP_CELL_ALPHA,
00205         GCU_PROP_CELL_BETA,
00209         GCU_PROP_CELL_GAMMA,
00213         GCU_PROP_CHEMICAL_NAME_COMMON,
00217         GCU_PROP_CHEMICAL_NAME_SYSTEMATIC,
00221         GCU_PROP_CHEMICAL_NAME_MINERAL,
00225         GCU_PROP_CHEMICAL_NAME_STRUCTURE,
00229         GCU_PROP_SPACE_GROUP,
00230 /******************************************************************************
00231  * Spectrum related properties
00232  ******************************************************************************/
00250         GCU_PROP_SPECTRUM_TYPE,
00254         GCU_PROP_SPECTRUM_NPOINTS,
00258         GCU_PROP_SPECTRUM_DATA_X,
00262         GCU_PROP_SPECTRUM_DATA_Y,
00266         GCU_PROP_SPECTRUM_DATA_REAL,
00270         GCU_PROP_SPECTRUM_DATA_IMAGINARY,
00284         GCU_PROP_SPECTRUM_X_UNIT,
00288         GCU_PROP_SPECTRUM_X_MIN,
00292         GCU_PROP_SPECTRUM_X_MAX,
00296         GCU_PROP_SPECTRUM_X_OFFSET,
00300         GCU_PROP_SPECTRUM_NMR_FREQ,
00304         GCU_PROP_MAX
00305 };
00306 
00307 #endif  //      GCU_OBJ_PROPS_H