text: //=========================================================================
  // Copyright (C) 2012 The Elastos Open Source Project
  //
  // Licensed under the Apache License, Version 2.0 (the "License");
  // you may not use this file except in compliance with the License.
  // You may obtain a copy of the License at
  //
  //      http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an "AS IS" BASIS,
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  // See the License for the specific language governing permissions and
  // limitations under the License.
  //=========================================================================
  
  #ifndef __ELASTOS_DROID_HARDWARE_CAMERA2_MARSHAL_IMPL_MARSHALQUERYABLERGGBCHANNELVECTOR_H__
  #define __ELASTOS_DROID_HARDWARE_CAMERA2_MARSHAL_IMPL_MARSHALQUERYABLERGGBCHANNELVECTOR_H__
  
  #include "Elastos.Droid.Hardware.h"
  #include "elastos/droid/ext/frameworkext.h"
  #include "elastos/droid/hardware/camera2/marshal/Marshaler.h"
  #include <Elastos.CoreLibrary.IO.h>
  #include <elastos/core/Object.h>
  
  namespace Elastos {
  namespace Droid {
  namespace Hardware {
  namespace Camera2 {
  namespace Marshal {
  namespace Impl {
  
  class MarshalQueryableRggbChannelVector
      : public Object
      , public IMarshalQueryableRggbChannelVector
      , public IMarshalQueryable
  {
  private:
      class MarshalerRggbChannelVector
          : public Marshaler
      {
      public:
          TO_STRING_IMPL("MarshalerRggbChannelVector")
  
          //@Override
          CARAPI Marshal(
              /* [in] */ IInterface* value,
              /* [in] */ IByteBuffer* buffer);
  
          //@Override
          CARAPI Unmarshal(
              /* [in] */ IByteBuffer* buffer,
              /* [out] */ IInterface** outface);
  
          //@Override
          CARAPI GetNativeSize(
              /* [out] */ Int32* value);
  
      protected:
          friend class MarshalQueryableRggbChannelVector;
  
          MarshalerRggbChannelVector(
              /* [in] */ ITypeReference* typeReference,
              /* [in] */ Int32 nativeType,
              /* [in] */ MarshalQueryableRggbChannelVector* host);
      };
  
  public:
      CAR_INTERFACE_DECL()
  
      //@Override
      CARAPI CreateMarshaler(
          /* [in] */ ITypeReference* managedType,
          /* [in] */ Int32 nativeType,
          /* [out] */ IMarshaler** outmar);
  
      //@Override
      CARAPI IsTypeMappingSupported(
          /* [in] */ ITypeReference* managedType,
          /* [in] */ Int32 nativeType,
          /* [out] */ Boolean* value);
  
  private:
      static const Int32 SIZE;
  };
  
  } // namespace Impl
  } // namespace Marshal
  } // namespace Camera2
  } // namespace Hardware
  } // namespace Droid
  } // namespace Elastos
  
  #endif //__ELASTOS_DROID_HARDWARE_CAMERA2_MARSHAL_IMPL_MARSHALQUERYABLERGGBCHANNELVECTOR_H__