StringReg.h
Go to the documentation of this file.
00001 
00002 //-----------------------------------------------------------------------------
00003 //  (c) 2006 by Basler Vision Technologies
00004 //  Section: Vision Components
00005 //  Project: GenApi
00006 //  Author:  Hartmut Nebelung
00007 //  $Header$
00008 //
00009 //  License: This file is published under the license of the EMVA GenICam  Standard Group.
00010 //  A text file describing the legal terms is included in  your installation as 'GenICam_license.pdf'.
00011 //  If for some reason you are missing  this file please contact the EMVA or visit the website
00012 //  (http://www.genicam.org) for a full copy.
00013 //
00014 //  THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
00015 //  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00016 //  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00017 //  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD  GROUP
00018 //  OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,  SPECIAL,
00019 //  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT  LIMITED TO,
00020 //  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,  DATA, OR PROFITS;
00021 //  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY  THEORY OF LIABILITY,
00022 //  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT  (INCLUDING NEGLIGENCE OR OTHERWISE)
00023 //  ARISING IN ANY WAY OUT OF THE USE  OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00024 //  POSSIBILITY OF SUCH DAMAGE.
00025 //-----------------------------------------------------------------------------
00032 #ifndef GENAPI_STRINGREGISTER_H
00033 #define GENAPI_STRINGREGISTER_H
00034 
00035 #include "GenApi/Types.h"
00036 #include "GenApi/IString.h"
00037 #include "GenApi/impl/Register.h"
00038 #include "GenApi/impl/BaseT.h"
00039 #include "GenApi/impl/ValueT.h"
00040 #include "GenApi/impl/NodeT.h"
00041 #include "GenApi/impl/StringT.h"
00042 
00044 namespace GENAPI_NAMESPACE
00045 {
00046     // *************************************************************
00047     // CStringRegister class
00048     // *************************************************************
00050 
00054     class CStringRegisterImpl : public CRegisterImpl, public IString
00055     {
00056     public:
00057         CStringRegisterImpl(void);
00058 
00060         virtual EInterfaceType InternalGetPrincipalInterfaceType() const
00061         {
00062             return intfIString;
00063         }
00064 
00065 
00066         //-------------------------------------------------------------
00067         // Implementation of INodePrivate
00068         //-------------------------------------------------------------
00070         //\{
00071         virtual void FinalConstruct();
00072         //\}
00073     protected:
00074         //-------------------------------------------------------------
00075         // Implementation of IValue
00076         //-------------------------------------------------------------
00078         //\{
00079         virtual GENICAM_NAMESPACE::gcstring InternalToString(bool Verify = false, bool IgnoreCache = false);
00080 
00082         virtual void InternalFromString(const GENICAM_NAMESPACE::gcstring& valueString, bool Verify = true);
00083         //\}
00084 
00085         //-------------------------------------------------------------
00086         // Implementation of IString
00087         //-------------------------------------------------------------
00089         //\{
00090 
00091         // Set node value
00092         virtual void InternalSetValue(const GENICAM_NAMESPACE::gcstring& Value, bool Verify = true);
00093 
00094         // Get node value
00095         virtual GENICAM_NAMESPACE::gcstring InternalGetValue(bool Verify = false, bool IgnoreCache = false);
00096 
00098         virtual int64_t InternalGetMaxLength();
00099         //\}
00100 
00101     public:
00102         //-------------------------------------------------------------
00103         // Initializing
00104         //-------------------------------------------------------------
00105         
00106         
00107     virtual void SetProperty( CProperty &Property );
00108         virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const;
00109         
00110         
00111     private:
00112         //IInteger* m_pLength_by;
00113     };
00114 
00115 
00116     class CStringRegister : public BaseT< ValueT< NodeT< StringT< RegisterT< CStringRegisterImpl > > > > >
00117     {
00118     };
00119 
00120 }
00121 
00122 #endif // GENAPI_STRINGREGISTER_H


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:06