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<  ;

  // private member functions
  template< Args> 
     (, );
  template< Args> 
     (, , );
  template< Args> 
    (, , );
  template< Args> 
    (, , , );
  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 &) = ;
  imported_class & (imported_class &&) = ;
   ();
   ();
   ();
   ();
  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 private member functions

  1. template< Args> 
       ( lib,  args);
  2. template< Args> 
       ( lib,  size, 
                             args);
  3. template< Args> 
      (,  lib,  args);
  4. template< Args> 
      (,  lib,  size, 
                      args);
  5. template< Args> 
      (,  lib,  args);
  6. 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. () = ;
  3. (imported_class &) = ;
  4. (imported_class &&) = ;
    Move constructor.
  5. imported_class & (imported_class &) = ;
  6. imported_class & (imported_class &&) = ;
    Move assignmend.
  7.  ();
    Check if the imported class is move-constructible.
  8.  ();
    Check if the imported class is move-assignable.
  9.  ();
    Check if the imported class is copy-constructible.
  10.  ();
    Check if the imported class is copy-assignable.
  11. imported_class<  () ;
    Invoke the copy constructor.
    [Important] Important

    Undefined behaviour if the imported object is not copy constructible.

  12. imported_class<  ();
    Invoke the move constructor.
    [Important] Important

    Undefined behaviour if the imported object is not move constructible.

  13.  (imported_class<  lhs) ;
    Invoke the copy assignment.
    [Important] Important

    Undefined behaviour if the imported object is not copy assignable.

  14.  (imported_class<  lhs);
    Invoke the move assignment.
    [Important] Important

    Undefined behaviour if the imported object is not move assignable.

  15. () ;
    Check if the class is loaded.
  16.  ();
    Get a const reference to the std::type_info.
  17. 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

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

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

    Example

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

PrevUpHomeNext