Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template imported_class

boost::dll::experimental::imported_class

Synopsis

// In header: <boost/dll/import_class.hpp>

template<typename T> 
class imported_class {
public:
  // types
  typedef imported_class<  ;

  // construct/copy/destruct
  template< Args> 
    (, , );
  template< Args> 
    (, , , );
  template< Args> 
    (, , );
  template< Args> 
    (, , , );
  () = ;
  (imported_class &) = ;
  (imported_class &&) = ;
  imported_class & (imported_class &) = ;
  imported_class & (imported_class &&) = ;

  // private member functions
  template< Args> 
     (, );
  template< Args> 
     (, , );

  // public static functions
  template< Args> 
    imported_class<  (, );
  template< Args> 
    imported_class<  (, , );
  template< Args> 
    imported_class<  (, );
  template< Args> 
    imported_class<  
    (, , );

  // public member functions
   ();
   ();
   ();
   ();
   ();
  imported_class<  () ;
  imported_class<  ();
   (imported_class< ) ;
   (imported_class< );
  () ;
   ();
  template<typename Signature>  ();
  template<typename Tin, typename Signature, 
           typename > 
     ();
  template<typename Tin, typename T2>  ();
  template< Args>  ();
};

Description

This class represents an imported class.

[Note] Note

It must be constructed via boost::dll::import_class(const smart_library& lib, std::size_t, Args...)

imported_class public construct/copy/destruct

  1. template< Args> 
      (,  lib,  args);
  2. template< Args> 
      (,  lib,  size, 
                      args);
  3. template< Args> 
      (,  lib,  args);
  4. template< Args> 
      (,  lib,  size, 
                      args);
  5. () = ;
  6. (imported_class &) = ;
  7. (imported_class &&) = ;
    Move constructor.
  8. imported_class & (imported_class &) = ;
  9. imported_class & (imported_class &&) = ;
    Move assignmend.

imported_class private member functions

  1. template< Args> 
       ( lib,  args);
  2. template< Args> 
       ( lib,  size, 
                             args);

imported_class public static functions

  1. template< Args> 
      imported_class<  ( lib,  args);
  2. template< Args> 
      imported_class<  
      ( lib,  size,  args);
  3. template< Args> 
      imported_class<  ( lib,  args);
  4. template< Args> 
      imported_class<  
      ( lib,  size,  args);

imported_class public member functions

  1.  ();
    Returns a pointer to the underlying class.
  2.  ();
    Check if the imported class is move-constructible.
  3.  ();
    Check if the imported class is move-assignable.
  4.  ();
    Check if the imported class is copy-constructible.
  5.  ();
    Check if the imported class is copy-assignable.
  6. imported_class<  () ;
    Invoke the copy constructor.
    [Note] Note

    Undefined behaviour if the imported object is not copy constructible.

  7. imported_class<  ();
    Invoke the move constructor.
    [Note] Note

    Undefined behaviour if the imported object is not move constructible.

  8.  (imported_class<  lhs) ;
    Invoke the copy assignment.
    [Note] Note

    Undefined behaviour if the imported object is not copy assignable.

  9.  (imported_class<  lhs);
    Invoke the move assignment.
    [Note] Note

    Undefined behaviour if the imported object is not move assignable.

  10. () ;
    Check if the class is loaded.
  11.  ();
    Get a const reference to the std::type_info.
  12. template<typename Signature>  ( name);

    Call a member function. This returns a proxy to the function. The proxy mechanic mechanic is necessary, so the signaute can be passed.

    Example

  13. template<typename Tin, typename Signature, 
             typename > 
       ( name);

    Call a qualified member function, i.e. const and or volatile.

    Example

  14. template<typename Tin, typename T2>  ( mn);
    Overload of ->* for an imported method.
  15. template< Args>  ( name);
    Import a method of the class.

PrevUpHomeNext