Nostrduino
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes
nostr::NostrEvent Class Reference

#include <NostrEvent.h>

Inheritance diagram for nostr::NostrEvent:
nostr::SignedNostrEvent nostr::UnsignedNostrEvent

Public Member Functions

 NostrEvent ()
 
virtual ~NostrEvent ()
 
unsigned long int getCreatedAt () const
 
unsigned int getKind () const
 
NostrEventTagsgetTags ()
 
const NostrEventTagsgetTags () const
 
NostrString getContent () const
 

Protected Member Functions

 NostrEvent (unsigned int kind, NostrEventTags tags, NostrString content, unsigned long int created_at)
 

Protected Attributes

unsigned int kind
 
NostrEventTags tags
 
NostrString content
 
unsigned long int created_at
 

Detailed Description

Base class for NostrEvent

Constructor & Destructor Documentation

◆ NostrEvent() [1/2]

nostr::NostrEvent::NostrEvent ( )
inline

◆ ~NostrEvent()

virtual nostr::NostrEvent::~NostrEvent ( )
inlinevirtual

◆ NostrEvent() [2/2]

nostr::NostrEvent::NostrEvent ( unsigned int  kind,
NostrEventTags  tags,
NostrString  content,
unsigned long int  created_at 
)
inlineprotected

Member Function Documentation

◆ getContent()

NostrString nostr::NostrEvent::getContent ( ) const
inline

◆ getCreatedAt()

unsigned long int nostr::NostrEvent::getCreatedAt ( ) const
inline

◆ getKind()

unsigned int nostr::NostrEvent::getKind ( ) const
inline

◆ getTags() [1/2]

NostrEventTags * nostr::NostrEvent::getTags ( )
inline

◆ getTags() [2/2]

const NostrEventTags * nostr::NostrEvent::getTags ( ) const
inline

Field Documentation

◆ content

NostrString nostr::NostrEvent::content
protected

◆ created_at

unsigned long int nostr::NostrEvent::created_at
protected

◆ kind

unsigned int nostr::NostrEvent::kind
protected

◆ tags

NostrEventTags nostr::NostrEvent::tags
protected

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