0.6.0
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
Public Member Functions | List of all members
clanguml::class_diagram::model::objc_member Class Reference

ObjC class member model. More...

Detailed Description

ObjC class member model.

Definition at line 29 of file objc_member.h.

#include <objc_member.h>

Public Member Functions

 class_member_base (common::model::access_t access, const std::string &name, const std::string &type)
 Constructor.
 
- Public Member Functions inherited from clanguml::class_diagram::model::class_member_base
 class_member_base (common::model::access_t access, const std::string &name, const std::string &type)
 Constructor.
 
 ~class_member_base () override=default
 
bool is_static () const
 Whether the member is static.
 
void is_static (bool is_static)
 Set members static status.
 
void set_destination_multiplicity (std::optional< size_t > m)
 Set members destination multiplicity.
 
std::optional< size_t > destination_multiplicity () const
 Get members destination multiplicity.
 
- Public Member Functions inherited from clanguml::class_diagram::model::class_element
 class_element (common::model::access_t access, std::string name, std::string type)
 
 ~class_element () override=default
 
common::model::access_t access () const
 Get elements access scope.
 
std::string name () const
 Get elements name.
 
void set_name (const std::string &name)
 Set elements name.
 
std::string type () const
 Get elements type as string.
 
void set_type (const std::string &type)
 Set elements type as string.
 
void set_qualified_name (const std::string &qn)
 Set class elements qualified name.
 
std::string qualified_name () const
 get fully qualified name of the class element.
 
- Public Member Functions inherited from clanguml::common::model::decorated_element
virtual ~decorated_element ()=default
 
bool skip () const
 
bool skip_relationship () const
 
std::pair< relationship_t, std::string > get_relationship () const
 
std::string style_spec () const
 
const std::vector< std::shared_ptr< decorators::decorator > > & decorators () const
 
void add_decorators (const std::vector< std::shared_ptr< decorators::decorator > > &decorators)
 
void append (const decorated_element &de)
 
std::optional< comment_tcomment () const
 
void set_comment (const comment_t &c)
 
virtual std::optional< std::string > doxygen_link () const
 
- Public Member Functions inherited from clanguml::common::model::source_location
 source_location ()=default
 
 source_location (std::string f, unsigned int l)
 
const std::string & file () const
 
void set_file (const std::string &file)
 
const std::string & file_relative () const
 
void set_file_relative (const std::string &file)
 
const std::string & translation_unit () const
 
void set_translation_unit (const std::string &translation_unit)
 
unsigned int line () const
 
void set_line (const unsigned line)
 
unsigned int column () const
 
void set_column (const unsigned column)
 
unsigned int location_id () const
 
void set_location_id (unsigned int h)
 

Member Function Documentation

◆ class_member_base()

clanguml::class_diagram::model::class_member_base::class_member_base ( common::model::access_t  access,
const std::string &  name,
const std::string &  type 
)

Constructor.

Parameters
accessMembers access scope (e.g. public)
nameMembers name.
typeMembers type as string.

Definition at line 38 of file class_member_base.cc.

26{
27}

The documentation for this class was generated from the following file: