Complex Number 0.1.2 |
00001 // Copyright (c) 2010 Matthew Krupcale 00002 00003 // Permission is hereby granted, free of charge, to any person 00004 // obtaining a copy of this software and associated documentation 00005 // files (the "Software"), to deal in the Software without 00006 // restriction, including without limitation the rights to use, 00007 // copy, modify, merge, publish, distribute, sublicense, and/or sell 00008 // copies of the Software, and to permit persons to whom the 00009 // Software is furnished to do so, subject to the following 00010 // conditions: 00011 00012 // The above copyright notice and this permission notice shall be 00013 // included in all copies or substantial portions of the Software. 00014 00015 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00016 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 00017 // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00018 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 00019 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 00020 // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 00021 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 00022 // OTHER DEALINGS IN THE SOFTWARE. 00023 00024 #ifndef NAMESPACE_H 00025 #define NAMESPACE_H 00026 00027 //============================================================================ 00028 // Name : Namespace.h 00029 // Author : Matthew Krupcale 00030 // Version : 0.1.0 00031 // Copyright : Copyright (C) 2010 Matthew Krupcale 00032 // Description : A macro for defining namespaces 00033 //============================================================================ 00034 00051 #ifndef BEGIN_NAMESPACE 00052 #define BEGIN_NAMESPACE(X) namespace X { 00053 #endif 00054 00061 #ifndef END_NAMESPACE 00062 #define END_NAMESPACE(X) } 00063 #endif 00064 00065 #endif /* NAMESPACE_H */