Class Algorithm

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long nativeObj  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Algorithm​(long addr)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Algorithm __fromPtr__​(long addr)  
      void clear()
      Clears the algorithm state
      boolean empty()
      Returns true if the Algorithm is empty (e.g.
      java.lang.String getDefaultName()
      Returns the algorithm string identifier.
      long getNativeObjAddr()  
      void save​(java.lang.String filename)
      Saves the algorithm to a file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • nativeObj

        protected final long nativeObj
    • Constructor Detail

      • Algorithm

        protected Algorithm​(long addr)
    • Method Detail

      • getNativeObjAddr

        public long getNativeObjAddr()
      • __fromPtr__

        public static Algorithm __fromPtr__​(long addr)
      • clear

        public void clear()
        Clears the algorithm state
      • empty

        public boolean empty()
        Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
        Returns:
        automatically generated
      • save

        public void save​(java.lang.String filename)
        Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
        Parameters:
        filename - automatically generated
      • getDefaultName

        public java.lang.String getDefaultName()
        Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
        Returns:
        automatically generated