(file) Return to XmlConstants.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

  1 karl  1.10 //%2006////////////////////////////////////////////////////////////////////////
  2 mike  1.2  //
  3 karl  1.8  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
  4            // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
  5            // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
  6 karl  1.7  // IBM Corp.; EMC Corporation, The Open Group.
  7 karl  1.8  // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
  8            // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
  9 karl  1.9  // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 10            // EMC Corporation; VERITAS Software Corporation; The Open Group.
 11 karl  1.10 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 12            // EMC Corporation; Symantec Corporation; The Open Group.
 13 mike  1.2  //
 14            // Permission is hereby granted, free of charge, to any person obtaining a copy
 15 kumpf 1.4  // of this software and associated documentation files (the "Software"), to
 16            // deal in the Software without restriction, including without limitation the
 17            // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 18 mike  1.2  // sell copies of the Software, and to permit persons to whom the Software is
 19            // furnished to do so, subject to the following conditions:
 20            // 
 21 kumpf 1.4  // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 22 mike  1.2  // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 23            // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 24 kumpf 1.4  // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 25            // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 26            // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 27 mike  1.2  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 28            // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 29            //
 30            //==============================================================================
 31            //
 32            //%/////////////////////////////////////////////////////////////////////////////
 33            
 34            #ifndef Pegasus_XmlConstants_h
 35            #define Pegasus_XmlConstants_h
 36            
 37 mike  1.3  // REVIEW: Consider moving these to classes which they are associated with.
 38            
 39 mike  1.2  PEGASUS_NAMESPACE_BEGIN
 40            
 41            //
 42            //  This include file contains constants related to the CIM XML encoding,
 43 kumpf 1.11 //  including XML elements, and exception message strings appropriate for
 44 mike  1.2  //  XML validation exception conditions.
 45            //
 46            
 47            //
 48            //  XML Elements
 49            //
 50            
 51            /**
 52             *  The element used to define a multiple CIM operation request.
 53             */
 54            static const char XML_ELEMENT_MULTIREQ [] = "MULTIREQ";
 55            
 56            /**
 57             *  The element used to define a simple CIM operation request.
 58             */
 59            static const char XML_ELEMENT_SIMPLEREQ [] = "SIMPLEREQ";
 60            
 61            /**
 62             *  The element used to define an inrinsic method invocation.
 63             */
 64            static const char XML_ELEMENT_IMETHODCALL [] = "IMETHODCALL";
 65 mike  1.2  
 66            /**
 67             *  The element used to define an extrinsic method invocation.
 68             */
 69            static const char XML_ELEMENT_METHODCALL [] = "METHODCALL";
 70            
 71            /**
 72             *  The element used to define a local path to a CIM class.
 73             */
 74            static const char XML_ELEMENT_LOCALCLASSPATH [] = "LOCALCLASSPATH";
 75            
 76            /**
 77             *  The element used to define a local path to a CIM instance.
 78             */
 79            static const char XML_ELEMENT_LOCALINSTANCEPATH [] = "LOCALINSTANCEPATH";
 80            
 81            
 82            //
 83            //  Exception Message Strings
 84            //
 85            
 86 mike  1.2  /**
 87             *
 88             *  Exception message string indicating missing <SIMPLEREQ> or
 89             *  <MULTIREQ> element.
 90             *
 91             */
 92 kumpf 1.11 static const char MISSING_ELEMENT_REQ [] =
 93 kumpf 1.5      "expected SIMPLEREQ or MULTIREQ element";
 94 kumpf 1.11 
 95            static const char MISSING_ELEMENT_REQ_KEY [] =
 96                "Common.XmlConstants.MISSING_ELEMENT_REQ";
 97 mike  1.2  
 98            /**
 99             *
100             *  Exception message string indicating missing <LOCALCLASSPATH> or
101             *  <LOCALINSTANCEPATH> element.
102             *
103             */
104 kumpf 1.11 static const char MISSING_ELEMENT_LOCALPATH [] =
105 kumpf 1.5      "expected LOCALCLASSPATH or LOCALINSTANCEPATH element";
106 mike  1.2  
107 humberto 1.6  static const char MISSING_ELEMENT_LOCALPATH_KEY [] =
108 kumpf    1.12     "Common.XmlConstants.MISSING_ELEMENT_LOCALPATH";
109 kumpf    1.11 
110 mike     1.2  PEGASUS_NAMESPACE_END
111               
112               #endif /* Pegasus_XmlConstants_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2