Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / store / LockValidatingDirectoryWrapper.h
Size: Mime:
#ifndef org_apache_lucene_store_LockValidatingDirectoryWrapper_H
#define org_apache_lucene_store_LockValidatingDirectoryWrapper_H

#include "org/apache/lucene/store/FilterDirectory.h"

namespace java {
  namespace lang {
    class Class;
    class String;
  }
  namespace io {
    class IOException;
  }
  namespace util {
    class Collection;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        class IOContext;
        class IndexOutput;
        class Lock;
        class Directory;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {

        class LockValidatingDirectoryWrapper : public ::org::apache::lucene::store::FilterDirectory {
         public:
          enum {
            mid_init$_d7908a740079b9bc,
            mid_copyFrom_0270609cd0efd1d8,
            mid_createOutput_fcd40afc63179f73,
            mid_deleteFile_d1402cb7ea6d4983,
            mid_rename_9bb4c9427a947ae3,
            mid_sync_056491ce59c66210,
            mid_syncMetaData_d7775b228e076e62,
            max_mid
          };

          static ::java::lang::Class *class$;
          static jmethodID *mids$;
          static bool live$;
          static jclass initializeClass(bool);

          explicit LockValidatingDirectoryWrapper(jobject obj) : ::org::apache::lucene::store::FilterDirectory(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          LockValidatingDirectoryWrapper(const LockValidatingDirectoryWrapper& obj) : ::org::apache::lucene::store::FilterDirectory(obj) {}

          LockValidatingDirectoryWrapper(const ::org::apache::lucene::store::Directory &, const ::org::apache::lucene::store::Lock &);

          void copyFrom(const ::org::apache::lucene::store::Directory &, const ::java::lang::String &, const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &) const;
          ::org::apache::lucene::store::IndexOutput createOutput(const ::java::lang::String &, const ::org::apache::lucene::store::IOContext &) const;
          void deleteFile(const ::java::lang::String &) const;
          void rename(const ::java::lang::String &, const ::java::lang::String &) const;
          void sync(const ::java::util::Collection &) const;
          void syncMetaData() const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        extern PyType_Def PY_TYPE_DEF(LockValidatingDirectoryWrapper);
        extern PyTypeObject *PY_TYPE(LockValidatingDirectoryWrapper);

        class t_LockValidatingDirectoryWrapper {
        public:
          PyObject_HEAD
          LockValidatingDirectoryWrapper object;
          static PyObject *wrap_Object(const LockValidatingDirectoryWrapper&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif