• Classes
  • Modules
  • Namespaces
  • Files
  • Related Pages
  • File List
  • File Members

utilConstants.h

Go to the documentation of this file.
00001 #ifndef UTIL_CONSTANTS_H
00002 #define UTIL_CONSTANTS_H
00003 
00004 /*******************************************************************************
00005  * ALMA - Atacama Large Millimeter Array
00006  * Copyright (c) ESO - European Southern Observatory, 2011
00007  * (in the framework of the ALMA collaboration).
00008  * All rights reserved.
00009  * 
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public
00012  * License as published by the Free Software Foundation; either
00013  * version 2.1 of the License, or (at your option) any later version.
00014  * 
00015  * This library is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00018  * Lesser General Public License for more details.
00019  * 
00020  * You should have received a copy of the GNU Lesser General Public
00021  * License along with this library; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00023  *******************************************************************************/
00024 namespace laserSource
00025 {
00026         // SOME USEFUL CONSTANTS
00027         const char* const LESS_THAN_SIGN = "<";
00028         const char* const SPACE = " ";
00029         const char* const EQUALS_SIGN = "=";
00030         const char* const DOUBLE_QUOTE = "\"";
00031         const char* const FORWARD_SLASH = "/";
00032         const char* const GREATER_THAN_SIGN = ">";
00033 
00034         const char* const USER_TIMESTAMP_ELEMENT_NAME = "user-timestamp";
00035 
00036         const char* const SOURCE_TIMESTAMP_ELEMENT_NAME = "source-timestamp";
00037 
00038         const char* const USER_PROPERTIES_ELEMENT_NAME = "user-properties";
00039         const char* const USER_PROPERTIES_PROPERTY_ELEMENT_NAME = "property";
00040         const char* const USER_PROPERTIES_NAME_ATTRIBUTE_NAME = "name";
00041         const char* const USER_PROPERTIES_VALUE_ATTRIBUTE_NAME = "value";
00042 
00043         const char* const FAULT_STATE_ELEMENT_NAME = "fault-state";
00044         const char* const FAULT_STATE_FAMILY_ATTRIBUTE_NAME = "family";
00045         const char* const FAULT_STATE_MEMBER_ATTRIBUTE_NAME = "member";
00046         const char* const FAULT_STATE_CODE_ATTRIBUTE_NAME = "code";
00047         const char* const FAULT_STATE_DESCRIPTOR_ELEMENT_NAME = "descriptor";
00048 
00049         const char* const XML_HEADER = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>";
00050         const char* const ASI_MESSAGE_ELEMENT_NAME = "ASI-message";
00051         const char* const XML_NAMESPACE_PREFIX =  "xmlns:xsi";
00052         const char* const XML_SCHEMA_URI = "http://www.w3.org/2001/XMLSchema-instance";
00053         const char* const ASI_MESSAGE_BACKUP_ATTRIBUTE_NAME = "backup";
00054         const char* const ASI_MESSAGE_VERSION_ATTRIBUTE_NAME = "version";
00055         const char* const XSI_TYPE_PREFIX = "xsi:type";
00056         const char* const ASI_MESSAGE_TYPE_NAME = "ASI-message";
00057         const char* const SOURCE_NAME_ELEMENT_NAME = "source-name";
00058         const char* const SOURCE_HOSTNAME_ELEMENT_NAME = "source-hostname";
00059         const char* const FAULT_STATES_ELEMENT_NAME = "fault-states";
00060 
00061 }
00062 #endif

Generated on Mon May 4 2015 08:27:44 for ACS-2015.4 C++ API by  doxygen 1.7.0